mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
fix: packages/lib/package.json & packages/lib/.snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
This commit is contained in:
@@ -9,17 +9,20 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
|
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
|
||||||
"prepublish": "yarn run bundle"
|
"prepublish": "npm run snyk-protect && yarn run bundle",
|
||||||
|
"snyk-protect": "snyk protect"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react-native-json-tree": "^1.2.0",
|
"react-native-json-tree": "^1.2.0",
|
||||||
"styled-components": "^5.0.0-beta.8"
|
"styled-components": "^5.0.0-beta.8",
|
||||||
|
"snyk": "^1.316.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"prop-types": "^15.6.0",
|
"prop-types": "^15.6.0",
|
||||||
"react": "^16.8.3",
|
"react": "^16.8.3",
|
||||||
"react-native": "^0.59.8",
|
"react-native": "^0.59.8",
|
||||||
"react-native-webview": "^6.9.0"
|
"react-native-webview": "^6.9.0"
|
||||||
}
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user