diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8e447db --- /dev/null +++ b/.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: + - jest-environment-jsdom-thirteen > jsdom > request-promise-native > request-promise-core > lodash: + patched: '2020-05-01T00:39:42.605Z' diff --git a/package.json b/package.json index 05913b3..1d67d88 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,9 @@ "private": false, "scripts": { "build": "rollup -c", - "test": "jest" + "test": "jest", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "dependencies": { "data.maybe": "^1.2.3", @@ -22,7 +24,8 @@ "object-hash": "^1.3.1", "ramda": "^0.26.1", "redux": "^4.0.1", - "uuid": "^3.3.2" + "uuid": "^3.3.2", + "snyk": "^1.316.1" }, "devDependencies": { "@babel/core": "^7.4.0", @@ -60,5 +63,6 @@ "prop-types": "15.x.x", "react": ">= 16.7.0-alpha.2", "react-dom": ">= 16.7.0-alpha.2" - } + }, + "snyk": true }