Skip to content

Commit f953517

Browse files
snyk-botmaxbeatty
authored andcommitted
fix: .snyk & package.json to reduce vulnerabilities (#477)
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:lodash:20180130
1 parent 261811d commit f953517

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.snyk

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
version: v1.5.0
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.12.0
23
ignore: {}
3-
patch: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:lodash:20180130':
7+
- marky-markdown > highlights > first-mate-select-grammar > lodash:
8+
patched: '2018-07-05T22:41:04.529Z'

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test-e2e": "lab -L -m 30000 -M 10000 test/e2e",
1414
"snyk-protect": "snyk protect",
1515
"deploy": "now",
16-
"watch": "nodemon -e js,hbs server.js"
16+
"watch": "nodemon -e js,hbs server.js",
17+
"prepare": "npm run snyk-protect"
1718
},
1819
"repository": {
1920
"type": "git",
@@ -60,7 +61,8 @@
6061
"umzug": "2.0.1",
6162
"vision": "^4.1.1",
6263
"visionary": "^6.0.2",
63-
"yar": "^8.1.1"
64+
"yar": "^8.1.1",
65+
"snyk": "^1.88.1"
6466
},
6567
"devDependencies": {
6668
"benchmark": "2.1.4",
@@ -89,8 +91,7 @@
8991
"proxyquire": "1.8.0",
9092
"saucelabs": "^1.3.0",
9193
"selenium-webdriver": "^3.6.0",
92-
"sinon": "^4.4.5",
93-
"snyk": "^1.70.0"
94+
"sinon": "^4.4.5"
9495
},
9596
"snyk": true,
9697
"now": {

0 commit comments

Comments
 (0)