diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..91e3e08 --- /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-01T07:37:47.293Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-05-01T07:37:47.293Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-05-01T07:37:47.293Z' diff --git a/package.json b/package.json index b035794..481be8d 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,12 @@ "pug": "^2.0.0-beta6", "querystring": "^0.2.0", "react": "^15.3.0", - "react-dom": "^15.3.0" - } + "react-dom": "^15.3.0", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }