Skip to content

Commit

Permalink
fix: .snyk & package.json to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:hoek:20180212
  • Loading branch information
snyk-bot committed Jun 19, 2018
1 parent 1225c22 commit a05fbbd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:hoek:20180212':
- '@rails/webpacker > node-sass > request > hawk > hoek':
patched: '2018-06-19T06:37:40.039Z'
- '@rails/webpacker > node-sass > request > hawk > boom > hoek':
patched: '2018-06-19T06:37:40.039Z'
- '@rails/webpacker > node-sass > request > hawk > sntp > hoek':
patched: '2018-06-19T06:37:40.039Z'
- '@rails/webpacker > node-sass > request > hawk > cryptiles > boom > hoek':
patched: '2018-06-19T06:37:40.039Z'
- '@rails/webpacker > node-sass > node-gyp > request > hawk > hoek':
patched: '2018-06-19T06:37:40.039Z'
- '@rails/webpacker > node-sass > node-gyp > request > hawk > boom > hoek':
patched: '2018-06-19T06:37:40.039Z'
- '@rails/webpacker > node-sass > node-gyp > request > hawk > sntp > hoek':
patched: '2018-06-19T06:37:40.039Z'
- '@rails/webpacker > node-sass > node-gyp > request > hawk > cryptiles > boom > hoek':
patched: '2018-06-19T06:37:40.039Z'
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
"dependencies": {
"@rails/webpacker": "^3.4.3",
"google-maps-infobox": "^2.0.0",
"rails-erb-loader": "^5.2.1"
"rails-erb-loader": "^5.2.1",
"snyk": "^1.83.0"
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-import": "^2.2.0",
"webpack-dev-server": "^2.11.1"
}
},
"scripts": {
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"snyk": true
}

0 comments on commit a05fbbd

Please sign in to comment.