mirror of
https://github.com/zhigang1992/react-native-segmented-control-tab.git
synced 2026-01-12 22:50:51 +08:00
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:
8
Sample/.snyk
Normal file
8
Sample/.snyk
Normal 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'
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user