diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..951d892 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - async > lodash: + patched: '2019-07-04T04:53:41.037Z' + - pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2019-07-04T04:53:41.037Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2019-07-04T04:53:41.037Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2019-07-04T04:53:41.037Z' diff --git a/package.json b/package.json index f8edfe4..c14bbf9 100644 --- a/package.json +++ b/package.json @@ -28,10 +28,13 @@ "portastic": "^1.0.1", "pug": "^2.0.3", "socket.io": "^2.1.1", - "twitter-text": "^2.0.4" + "twitter-text": "^2.0.4", + "snyk": "^1.189.0" }, "scripts": { - "test": "node core/main test" + "test": "node core/main test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "@types/async": "^2.0.49", @@ -49,5 +52,6 @@ "istanbul": "^0.4.5", "nyc": "^11.9.0", "source-map-support": "^0.5.8" - } + }, + "snyk": true }