diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..bfaa7b6 --- /dev/null +++ b/.snyk @@ -0,0 +1,30 @@ +# 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 > libcipm > npm-lifecycle > node-gyp > request > hawk > sntp > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > node-gyp > request > hawk > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > node-gyp > request > hawk > sntp > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > node-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > libcipm > npm-lifecycle > node-gyp > request > hawk > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > libcipm > npm-lifecycle > node-gyp > request > hawk > boom > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > node-gyp > request > hawk > boom > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > libcipm > npm-lifecycle > node-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > npm-lifecycle > node-gyp > request > hawk > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > npm-lifecycle > node-gyp > request > hawk > boom > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > npm-lifecycle > node-gyp > request > hawk > sntp > hoek: + patched: '2018-06-20T02:37:36.329Z' + - npm > npm-lifecycle > node-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T02:37:36.329Z' diff --git a/package.json b/package.json index c5bd4f7..8a979cc 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "desktop": "meteor-desktop", "lint": "eslint .", "pretest": "npm run lint --silent", - "fix": "eslint imports/ --fix" + "fix": "eslint imports/ --fix", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "eslintConfig": { "extends": "@meteorjs/eslint-config-meteor", @@ -66,7 +68,8 @@ "install": "^0.10.1", "meteor-node-stubs": "~0.2.0", "npm": "^5.3.0", - "sanitize-html": "^1.14.1" + "sanitize-html": "^1.14.1", + "snyk": "^1.83.0" }, "repository": { "type": "git", @@ -89,5 +92,6 @@ "eslint-plugin-meteor": "^4.1.0", "eslint-plugin-react": "^7.1.0", "meteor-desktop": "^0.12.0" - } + }, + "snyk": true }