From d2c99a5556d5ea3e171333789e80dc12749f2583 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 05:53:51 +0300 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ec9ac69 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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: + - lodash: + patched: '2020-05-04T02:53:49.446Z' From e4e7a622071f00153503759b605e4f87993570dc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 05:53:52 +0300 Subject: [PATCH 2/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f15f141..dcdefb2 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,16 @@ "lint": "eslint src test", "pretest": "npm run lint", "test": "BABEL_ENV='test' node 'scripts/JasmineUnitRunner.js'", - "xcode": "open ./ios/RNNewRelic.xcodeproj" + "xcode": "open ./ios/RNNewRelic.xcodeproj", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "peerDependencies": { "react-native": "*" }, "dependencies": { - "lodash": "^4.11.1" + "lodash": "^4.11.1", + "snyk": "^1.317.0" }, "devDependencies": { "app-root-path": "latest", @@ -71,5 +74,6 @@ "sourceMaps": false } } - } + }, + "snyk": true }