diff --git a/Sample/.snyk b/Sample/.snyk new file mode 100644 index 0000000..853d12c --- /dev/null +++ b/Sample/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:lodash:20180130': + - react-native > plist > xmlbuilder > lodash: + patched: '2018-11-06T03:22:28.064Z' diff --git a/Sample/package.json b/Sample/package.json index ae07232..b3d6642 100644 --- a/Sample/package.json +++ b/Sample/package.json @@ -6,12 +6,16 @@ "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", - "eject": "expo eject" + "eject": "expo eject", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "dependencies": { "expo": "^30.0.1", "react": "16.3.1", "react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz", - "react-native-segmented-control-tab": "^3.3.1" - } + "react-native-segmented-control-tab": "^3.3.1", + "snyk": "^1.108.0" + }, + "snyk": true }