diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..1a54d57 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - publish-please > lodash: + patched: '2019-07-10T06:55:35.479Z' + - karma-sauce-launcher > wd > lodash: + patched: '2019-07-10T06:55:35.479Z' diff --git a/package.json b/package.json index d8905b2..84ac201 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "test:ci": "cross-env NODE_ENV=test karma start karma-ci.conf.js", "travisci": "npm run install-react && npm run lint && npm run test:ci && codecov", "publish-please": "npm run build && publish-please", - "prepublish": "publish-please guard" + "prepublish": "npm run snyk-protect; publish-please guard", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -72,5 +73,9 @@ }, "peerDependencies": { "react": "*" + }, + "snyk": true, + "dependencies": { + "snyk": "^1.192.4" } }