diff --git a/frontend/.snyk b/frontend/.snyk new file mode 100644 index 0000000..0339a20 --- /dev/null +++ b/frontend/.snyk @@ -0,0 +1,8 @@ +# 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: + - '@furystack/odata-fetchr > jsdom > request-promise-native > request-promise-core > lodash': + patched: '2020-04-30T23:50:13.185Z' diff --git a/frontend/package.json b/frontend/package.json index 48d89ac..35234ae 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,7 +9,9 @@ "update-metadata": "yarn odata-fetchr", "clean": "rimraf dist", "test": "echo \"Error: no test specified\" && exit 1", - "cypress:open": "cypress open" + "cypress:open": "cypress open", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "ISC", @@ -32,6 +34,8 @@ }, "dependencies": { "@furystack/odata-fetchr": "^0.3.0", - "@furystack/shades": "^2.0.1" - } + "@furystack/shades": "^2.0.1", + "snyk": "^1.316.1" + }, + "snyk": true }