diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..963cafc --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2020-05-01T04:53:46.401Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-05-01T04:53:46.401Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-05-01T04:53:46.401Z' diff --git a/package.json b/package.json index 95d96d7..8d81528 100644 --- a/package.json +++ b/package.json @@ -29,10 +29,13 @@ "portastic": "^1.0.1", "pug": "^2.0.4", "socket.io": "^2.3.0", - "socket.io-client": "^2.3.0" + "socket.io-client": "^2.3.0", + "snyk": "^1.316.1" }, "scripts": { - "test": "node core/main test" + "test": "node core/main test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "@types/async": "^2.4.2", @@ -50,5 +53,6 @@ "istanbul": "^0.4.5", "nyc": "^11.9.0", "source-map-support": "^0.5.16" - } + }, + "snyk": true }