fix: .snyk & package.json to reduce vulnerabilities

The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:hoek:20180212
This commit is contained in:
snyk-bot
2018-06-20 11:28:46 +00:00
parent 7e0c80e5f7
commit fdd3f72aff
2 changed files with 53 additions and 3 deletions

46
.snyk Normal file
View File

@@ -0,0 +1,46 @@
# 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':
- npm > node-gyp > request > hawk > sntp > hoek:
patched: '2018-06-20T11:28:44.870Z'
- node-sass-chokidar > node-sass > request > hawk > hoek:
patched: '2018-06-20T11:28:44.870Z'
- node-sass-chokidar > node-sass > request > hawk > sntp > hoek:
patched: '2018-06-20T11:28:44.870Z'
- node-sass-chokidar > node-sass > request > hawk > cryptiles > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- node-sass-chokidar > node-sass > node-gyp > request > hawk > hoek:
patched: '2018-06-20T11:28:44.870Z'
- node-sass-chokidar > node-sass > node-gyp > request > hawk > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- node-sass-chokidar > node-sass > node-gyp > request > hawk > sntp > hoek:
patched: '2018-06-20T11:28:44.870Z'
- node-sass-chokidar > node-sass > node-gyp > request > hawk > cryptiles > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > node-gyp > request > hawk > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > node-gyp > request > hawk > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- node-sass-chokidar > node-sass > request > hawk > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > node-gyp > request > hawk > cryptiles > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > libcipm > npm-lifecycle > node-gyp > request > hawk > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > libcipm > npm-lifecycle > node-gyp > request > hawk > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > libcipm > npm-lifecycle > node-gyp > request > hawk > sntp > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > libcipm > npm-lifecycle > node-gyp > request > hawk > cryptiles > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > npm-lifecycle > node-gyp > request > hawk > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > npm-lifecycle > node-gyp > request > hawk > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > npm-lifecycle > node-gyp > request > hawk > sntp > hoek:
patched: '2018-06-20T11:28:44.870Z'
- npm > npm-lifecycle > node-gyp > request > hawk > cryptiles > boom > hoek:
patched: '2018-06-20T11:28:44.870Z'

View File

@@ -13,7 +13,9 @@
"build": "npm-run-all build-css build-js", "build": "npm-run-all build-css build-js",
"test": "react-scripts-ts test --env=jsdom", "test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject", "eject": "react-scripts-ts eject",
"deploy:firebase": "npm run build && firebase deploy" "deploy:firebase": "npm run build && firebase deploy",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
}, },
"author": "Amir Movahedi", "author": "Amir Movahedi",
"license": "MIT", "license": "MIT",
@@ -72,7 +74,8 @@
"reflect-metadata": "^0.1.10", "reflect-metadata": "^0.1.10",
"save": "^2.3.0", "save": "^2.3.0",
"typeface-roboto": "0.0.50", "typeface-roboto": "0.0.50",
"uuid": "^3.0.1" "uuid": "^3.0.1",
"snyk": "^1.83.0"
}, },
"devDependencies": { "devDependencies": {
"@types/classnames": "^2.2.3", "@types/classnames": "^2.2.3",
@@ -124,5 +127,6 @@
], ],
"bugs": { "bugs": {
"url": "https://github.com/Qolzam/react-social-network/issues" "url": "https://github.com/Qolzam/react-social-network/issues"
} },
"snyk": true
} }