From b61070ed15da4efd41ee81ecac6b24ed11b0d061 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 23:12:47 +0200 Subject: [PATCH] fix: packages/demo/package.json & packages/demo/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/demo/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/demo/package.json b/packages/demo/package.json index 955b9ef..3941bb6 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -8,7 +8,9 @@ "ios": "expo start --ios", "web": "expo start --web", "eject": "expo eject", - "postinstall": "expo-yarn-workspaces postinstall" + "postinstall": "expo-yarn-workspaces postinstall", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "expo": "^33.0.0", @@ -16,7 +18,8 @@ "react-dom": "^16.8.6", "react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz", "react-native-debug-console": "^2.0.0-alpha.7", - "react-native-web": "0.11.4" + "react-native-web": "0.11.4", + "snyk": "^1.316.1" }, "devDependencies": { "@babel/runtime": "^7.5.0", @@ -26,5 +29,6 @@ "expo-yarn-workspaces": "^1.2.0", "react-art": "^16.8.6" }, - "private": true + "private": true, + "snyk": true }