From e4bc2bfd7e095e51e19710b68eba1f25fdd11c40 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 05:31:33 +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 2f59e6243..66a1bafe3 100644 --- a/package.json +++ b/package.json @@ -30,13 +30,14 @@ "test:watch": "npm run test -- --watch", "lint": "eslint src", "lint:css": "stylelint './src/**/*.js'", - "prepublish": "npm run build", + "prepublish": "npm run snyk-protect && npm run build", "lint-staged": "lint-staged", "jsdoc-documentation": "jsdoc-documentation", "jsdoc": "jsdoc-documentation --file", "prestyleguide": "npm run jsdoc", "styleguide": "styleguidist server", - "styleguide:build": "styleguidist build" + "styleguide:build": "styleguidist build", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -193,7 +194,8 @@ "prop-types": "^15.7.2", "react-portal": "^4.2.1", "react-transition-group": "^2.6.0", - "tether-fix": "^1.4.0-fix-es" + "tether-fix": "^1.4.0-fix-es", + "snyk": "^1.316.1" }, "peerDependencies": { "react": "^16.9.0", @@ -294,5 +296,6 @@ "devDependencyPin": "chore: pin ${dependency} to ${oldVersion}", "closes": "\n\nCloses #${number}" } - } + }, + "snyk": true } From a209a7b060fd6816e20dd6b2bd7e27509adafa07 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 05:31:34 +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 000000000..f4ad725b7 --- /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: + - '@rollup-umd/documentation-cli > async > lodash': + patched: '2020-05-01T03:31:30.534Z'