Compare commits

...

2 Commits

Author SHA1 Message Date
snyk-bot
ec232824ff 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
2020-05-01 00:47:44 +02:00
snyk-bot
5903f18a2a 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
2020-05-01 00:47:43 +02:00
2 changed files with 24 additions and 3 deletions

18
packages/lib/.snyk Normal file
View File

@@ -0,0 +1,18 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- styled-components > @babel/traverse > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > babel-plugin-styled-components > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > @babel/traverse > @babel/generator > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > babel-plugin-styled-components > @babel/helper-annotate-as-pure > @babel/types > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash:
patched: '2020-04-30T22:47:36.693Z'

View File

@@ -9,17 +9,20 @@
"scripts": {
"test": "jest",
"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",
"dependencies": {
"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": {
"prop-types": "^15.6.0",
"react": "^16.8.3",
"react-native": "^0.59.8",
"react-native-webview": "^6.9.0"
}
},
"snyk": true
}