Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 97a0889

Browse files
authored
Merge pull request #5 from Code4HR/snyk-fix-c52b4d81
[Snyk Update] New fixes for 1 vulnerable dependency path
2 parents 96c490b + 53f153f commit 97a0889

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

.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.8.0
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:moment:20170905':
7+
- twilio > moment:
8+
patched: '2017-12-01T08:45:09.983Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,20 @@
44
"description": "The server-side application used to alert OKCandidate users of the upcoming election via user opt-in e-mail or SMS, and send them a link to their survey results.",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"snyk-protect": "snyk protect",
9+
"prepublish": "npm run snyk-protect"
810
},
911
"author": "",
1012
"license": "ISC",
1113
"dependencies": {
1214
"mailgun-js": "^0.11.3",
13-
"twilio": "^3.5.0"
15+
"twilio": "^3.5.0",
16+
"snyk": "^1.52.1"
1417
},
1518
"devDependencies": {
1619
"babelify": "^7.3.0",
1720
"eslint": "^3.7.1"
18-
}
21+
},
22+
"snyk": true
1923
}

0 commit comments

Comments
 (0)