fix: Sample/.snyk & Sample/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:lodash:20180130
This commit is contained in:
snyk-bot
2018-11-06 03:22:29 +00:00
parent 0d3d6c6201
commit 77a6cd2863
2 changed files with 15 additions and 3 deletions

8
Sample/.snyk Normal file
View File

@@ -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'

View File

@@ -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
}