Skip to content

Commit

Permalink
Merge pull request #16 from cagataycali/snyk-fix-b88eaj
Browse files Browse the repository at this point in the history
[Snyk] Fix for 20 vulnerable dependencies
  • Loading branch information
cagataycali committed Nov 18, 2019
2 parents 09c752c + 410de1e commit dc96847
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 7 deletions.
25 changes: 25 additions & 0 deletions .snyk
@@ -0,0 +1,25 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:hoek:20180212':
- ch3ck > hoek:
patched: '2018-12-10T07:41:54.475Z'
- ch3ck > hawk > hoek:
patched: '2018-12-10T07:41:54.475Z'
- ch3ck > sntp > hoek:
patched: '2018-12-10T07:41:54.475Z'
- ch3ck > boom > hoek:
patched: '2018-12-10T07:41:54.475Z'
- ch3ck > hawk > sntp > hoek:
patched: '2018-12-10T07:41:54.475Z'
- ch3ck > hawk > boom > hoek:
patched: '2018-12-10T07:41:54.475Z'
- ch3ck > cryptiles > boom > hoek:
patched: '2018-12-10T07:41:54.475Z'
- ch3ck > hawk > cryptiles > boom > hoek:
patched: '2018-12-10T07:41:54.475Z'
'npm:stringstream:20180511':
- ch3ck > stringstream:
patched: '2018-12-10T07:41:54.475Z'
18 changes: 11 additions & 7 deletions package.json
Expand Up @@ -5,7 +5,9 @@
"main": "index.js",
"scripts": {
"start": "node server.js",
"postinstall": "opencollective postinstall"
"postinstall": "opencollective postinstall",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"engines": {
"node": "7.x"
Expand Down Expand Up @@ -34,24 +36,26 @@
},
"homepage": "https://github.com/cagataycali/url-shortener#readme",
"dependencies": {
"body-parser": "^1.17.2",
"body-parser": "^1.18.2",
"ch3ck": "^1.0.2",
"commander": "^2.9.0",
"express": "^4.15.3",
"express": "^4.16.0",
"got": "^7.0.0",
"mongoose": "^4.13.17",
"opencollective": "^1.0.3",
"punycode": "^2.1.0",
"request": "^2.81.0",
"request": "^2.84.0",
"shortid": "^2.2.8",
"socket.io": "^2.0.2",
"subdomain": "^1.2.0",
"ua-parser-js": "^0.7.12",
"valid-url": "^1.0.9"
"ua-parser-js": "^0.7.18",
"valid-url": "^1.0.9",
"snyk": "^1.116.3"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/url-shortener",
"logo": "https://opencollective.com/opencollective/logo.txt"
}
},
"snyk": true
}

0 comments on commit dc96847

Please sign in to comment.