From 4e4cb7f2866afde7652bbeb570468c1853b46613 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:37:34 +0300 Subject: [PATCH 1/2] fix: packages/react-jsx-highcharts/package.json & packages/react-jsx-highcharts/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/react-jsx-highcharts/package.json | 25 ++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/packages/react-jsx-highcharts/package.json b/packages/react-jsx-highcharts/package.json index d9a056c2..5324c441 100644 --- a/packages/react-jsx-highcharts/package.json +++ b/packages/react-jsx-highcharts/package.json @@ -11,13 +11,24 @@ "build": "cross-env NODE_ENV=development ./node_modules/.bin/webpack", "build:prod": "cp ../../README.md . && cross-env NODE_ENV=production ./node_modules/.bin/webpack -p", "lint": "./node_modules/.bin/eslint src", - "test": "cross-env NODE_ENV=test ./node_modules/.bin/mocha --compilers js:babel-core/register --require test/test-helper.js test/**/*.spec.js" + "test": "cross-env NODE_ENV=test ./node_modules/.bin/mocha --compilers js:babel-core/register --require test/test-helper.js test/**/*.spec.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "Will Hawker", "contributors": [ - { "name": "Alex Mayants", "url": "https://github.com/AlexMayants" }, - { "name": "mrawdon", "url": "https://github.com/mrawdon" }, - { "name": "Ercan Akyürek", "url": "https://github.com/geforcefan" } + { + "name": "Alex Mayants", + "url": "https://github.com/AlexMayants" + }, + { + "name": "mrawdon", + "url": "https://github.com/mrawdon" + }, + { + "name": "Ercan Akyürek", + "url": "https://github.com/geforcefan" + } ], "license": "MIT", "repository": { @@ -81,12 +92,14 @@ "dependencies": { "immutable-is": "^3.7.6", "is-immutable": "^1.0.1", - "lodash": "^4.17.4" + "lodash": "^4.17.4", + "snyk": "^1.316.1" }, "peerDependencies": { "highcharts": "^5.0.0 || ^6.0.0", "react": "^15.0.0 || ^16.0.0", "react-dom": "^15.0.0 || ^16.0.0", "prop-types": "^15.0.0" - } + }, + "snyk": true } From 086b8e5ab6c6a206bc25e7e56ed76b65b4bfd6fe Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:37:35 +0300 Subject: [PATCH 2/2] fix: packages/react-jsx-highcharts/package.json & packages/react-jsx-highcharts/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/react-jsx-highcharts/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 packages/react-jsx-highcharts/.snyk diff --git a/packages/react-jsx-highcharts/.snyk b/packages/react-jsx-highcharts/.snyk new file mode 100644 index 00000000..3e84a181 --- /dev/null +++ b/packages/react-jsx-highcharts/.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-01T03:37:32.618Z'