diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..e66a89b2 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - gulp-uglify > lodash: + patched: '2019-07-04T04:10:35.597Z' + - gulp-sass > node-sass > sass-graph > lodash: + patched: '2019-07-04T04:10:35.597Z' + - gulp-sass > node-sass > gaze > globule > lodash: + patched: '2019-07-04T04:10:35.597Z' diff --git a/package.json b/package.json index e8177322..d380d881 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,15 @@ "gulp-uglify": "^3.0.1", "gulp-uglifycss": "^1.1.0", "jquery": "latest", - "merge-stream": "^1.0.1" + "merge-stream": "^1.0.1", + "snyk": "^1.189.0" }, "devDependencies": { "gulp": "^4.0.0" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }