diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..22df1eb2 --- /dev/null +++ b/.snyk @@ -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': + - kickoff-grid.css > eyeglass > node-sass > request > hawk > hoek: + patched: '2018-06-20T01:06:09.513Z' + - kickoff-grid.css > eyeglass > node-sass > request > hawk > boom > hoek: + patched: '2018-06-20T01:06:09.513Z' + - kickoff-grid.css > eyeglass > node-sass > request > hawk > sntp > hoek: + patched: '2018-06-20T01:06:09.513Z' + - kickoff-grid.css > eyeglass > node-sass > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T01:06:09.513Z' + - kickoff-grid.css > eyeglass > node-sass > node-gyp > request > hawk > hoek: + patched: '2018-06-20T01:06:09.513Z' + - kickoff-grid.css > eyeglass > node-sass > node-gyp > request > hawk > boom > hoek: + patched: '2018-06-20T01:06:09.513Z' + - kickoff-grid.css > eyeglass > node-sass > node-gyp > request > hawk > sntp > hoek: + patched: '2018-06-20T01:06:09.513Z' + - kickoff-grid.css > eyeglass > node-sass > node-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T01:06:09.513Z' diff --git a/package.json b/package.json index bb57eae7..c69255e6 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,9 @@ "release-patch": "release-it --non-interactive patch", "release-minor": "release-it --non-interactive minor", "release-major": "release-it --non-interactive major", - "release-premajor": "release-it premajor --prereleaseId=\"beta\"" + "release-premajor": "release-it premajor --prereleaseId=\"beta\"", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "repository": { "type": "git", @@ -67,7 +69,8 @@ "kickoff-welcome.js": "1.4.0", "lite-ready": "1.0.4", "normalize-scss": "6.0.0", - "svg4everybody": "2.1.8" + "svg4everybody": "2.1.8", + "snyk": "^1.83.0" }, "devDependencies": { "autoprefixer": "6.7.7", @@ -175,5 +178,6 @@ ], "max-empty-lines": 2 } - } + }, + "snyk": true }