diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..a0a9590 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-HTTPSPROXYAGENT-469131: + - react-native-sentry > @sentry/wizard > @sentry/cli > https-proxy-agent: + patched: '2019-10-03T23:39:22.417Z' diff --git a/package.json b/package.json index d546d07..7b79e93 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,31 @@ { - "name": "masontoday", - "version": "0.0.1", - "private": true, - "scripts": { - "start": "node node_modules/react-native/local-cli/cli.js start", - "start:ios": "react-native run-ios", - "start:android": "react-native run-android" - }, - "dependencies": { - "lodash": "^4.17.10", - "moment": "^2.22.2", - "react": "16.6.3", - "react-native": "0.57.8", - "react-native-add-calendar-event": "^2.3.0", - "react-native-app-settings": "^2.0.1", - "react-native-gesture-handler": "^1.0.15", - "react-native-sentry": "^0.41.1", - "react-native-splash-screen": "3.0.6", - "react-navigation": "^3.2.1" - }, - "devDependencies": { - "babel-core": "^7.0.0-bridge.0", - "babel-jest": "24.1.0", - "metro-react-native-babel-preset": "0.51.1" - } + "name": "masontoday", + "version": "0.0.1", + "private": true, + "scripts": { + "start": "node node_modules/react-native/local-cli/cli.js start", + "start:ios": "react-native run-ios", + "start:android": "react-native run-android", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "dependencies": { + "lodash": "^4.17.10", + "moment": "^2.22.2", + "react": "16.6.3", + "react-native": "0.57.8", + "react-native-add-calendar-event": "^2.3.0", + "react-native-app-settings": "^2.0.1", + "react-native-gesture-handler": "^1.0.15", + "react-native-sentry": "^0.41.1", + "react-native-splash-screen": "3.0.6", + "react-navigation": "^3.2.1", + "snyk": "^1.230.5" + }, + "devDependencies": { + "babel-core": "^7.0.0-bridge.0", + "babel-jest": "24.1.0", + "metro-react-native-babel-preset": "0.51.1" + }, + "snyk": true }