diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..60a541e --- /dev/null +++ b/.snyk @@ -0,0 +1,18 @@ +# 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: + - browser-sync > easy-extender > lodash: + patched: '2020-05-01T02:36:05.481Z' + - gulp-sass > node-sass > lodash: + patched: '2020-05-01T02:36:05.481Z' + - portscanner > async > lodash: + patched: '2020-05-01T02:36:05.481Z' + - gulp-sass > node-sass > sass-graph > lodash: + patched: '2020-05-01T02:36:05.481Z' + - notifications-node-client > request-promise > request-promise-core > lodash: + patched: '2020-05-01T02:36:05.481Z' + - gulp-sass > node-sass > gaze > globule > lodash: + patched: '2020-05-01T02:36:05.481Z' diff --git a/package.json b/package.json index 07d70f0..5eb182a 100755 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "scripts": { "start": "node start.js", "lint": "standard", - "test": "npm run lint && gulp generate-assets && jest" + "test": "npm run lint && gulp generate-assets && jest", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "dependencies": { "acorn": "^6.0.5", @@ -44,7 +46,8 @@ "require-dir": "^1.0.0", "sync-request": "^6.0.0", "universal-analytics": "^0.4.16", - "uuid": "^3.2.1" + "uuid": "^3.2.1", + "snyk": "^1.316.1" }, "greenkeeper": { "ignore": [ @@ -57,5 +60,6 @@ "node-sass": "^4.12.0", "standard": "^12.0.1", "supertest": "^3.0.0" - } + }, + "snyk": true }