diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..13efcfe --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.21.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:lodash:20180130': + - react-native > yeoman-generator > html-wiring > cheerio > lodash: + patched: '2021-09-04T20:41:28.105Z' diff --git a/package.json b/package.json index b605ad8..6d68008 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,14 @@ "name": "DongerBoard", "version": "0.3.0", "scripts": { - "start": "node node_modules/react-native/local-cli/cli.js start" + "start": "node node_modules/react-native/local-cli/cli.js start", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "dependencies": { - "react": "15.0.2", - "react-native": "0.26.1" - } + "react": "16.5.0", + "react-native": "0.64.0", + "@snyk/protect": "latest" + }, + "snyk": true }