diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..6116880 --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - '@octokit/rest > lodash': + patched: '2020-05-01T05:03:39.152Z' + - scheduled > textualization > jshint > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > textualization > jshint > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > scheduled > textualization > jshint > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > templated > textualization > jshint > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > templated > pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > templated > pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-05-01T05:03:39.152Z' + - pillars > templated > pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-05-01T05:03:39.152Z' diff --git a/package.json b/package.json index 62a4cae..ac5c705 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "A very egocentric way to measure our community", "main": "server.js", "scripts": { - "start": "node server" + "start": "node server", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -21,6 +23,8 @@ "@octokit/rest": "^15.15.1", "pillars": "^0.7.1", "puppeteer": "1.9.0", - "scheduled": "^0.5.0" - } + "scheduled": "^0.5.0", + "snyk": "^1.316.1" + }, + "snyk": true }