From 690a00b70f7fc1ab908194a18c2bc2603fe69a47 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 21 Oct 2022 17:59:52 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-TREEKILL-536781 --- .snyk | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e11f8be --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-TREEKILL-536781: + - concurrently > tree-kill: + patched: '2022-10-21T17:58:56.445Z' diff --git a/package.json b/package.json index 31fb3c9..8668caa 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,8 @@ "s3": "^4.4.0", "typeface-pt-sans": "^0.0.72", "untildify": "^4.0.0", - "web3": "^1.0.0-beta.46" + "web3": "^1.0.0-beta.46", + "@snyk/protect": "latest" }, "devDependencies": { "@storybook/addon-actions": "^5.0.11", @@ -87,7 +88,9 @@ "test": "react-scripts test --env=jsdom a", "eject": "react-scripts eject", "storybook": "start-storybook -p 9009 -s public", - "build-storybook": "build-storybook -s public" + "build-storybook": "build-storybook -s public", + "prepare": "yarn run snyk-protect", + "snyk-protect": "snyk-protect" }, "publishConfig": { "registry": "https://registry.npmjs.org/" @@ -97,5 +100,6 @@ "not dead", "not ie <= 11", "not op_mini all" - ] + ], + "snyk": true }