From f8a84e79cb7899d9033aa02ce6b213d06994bbfb Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:36:04 +0200 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0522821..15715de 100644 --- a/package.json +++ b/package.json @@ -29,12 +29,13 @@ "test:clean": "rimraf ./coverage", "test:watch": "npm run test -- --watch", "lint": "eslint src", - "prepublish": "npm run build", + "prepublish": "npm run snyk-protect && npm run build", "lint-staged": "lint-staged", "styleguide": "styleguidist server", "styleguide:build": "styleguidist build", "extract-intl": "npx @rollup-umd/intl intl extract", - "extract-intl:doc": "npx @rollup-umd/documentation-cli intl" + "extract-intl:doc": "npx @rollup-umd/documentation-cli intl", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -218,7 +219,8 @@ ], "dependencies": { "@bootstrap-styled/v4": "^3.0.4", - "prop-types": "^15.6.2" + "prop-types": "^15.6.2", + "snyk": "^1.316.1" }, "peerDependencies": { "react": "^16.7.0", @@ -357,5 +359,6 @@ "path": "./node_modules/cz-conventional-changelog" } }, - "declinationId": "react-intl" + "declinationId": "react-intl", + "snyk": true } From f66d1e3c3460fcce4498bf3f52099723c921a46e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:36:05 +0200 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..259b3ab --- /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: + - '@bootstrap-styled/v4 > @rollup-umd/documentation-cli > async > lodash': + patched: '2020-05-01T01:36:02.858Z'