From 8521d7ed2b793c3602411b84c3c27f56e8886c48 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:48:09 +0300 Subject: [PATCH 1/2] fix: packages/react-jsx-highstock/package.json & packages/react-jsx-highstock/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/react-jsx-highstock/package.json | 25 +++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/packages/react-jsx-highstock/package.json b/packages/react-jsx-highstock/package.json index 659d7fa1..293c7bc0 100644 --- a/packages/react-jsx-highstock/package.json +++ b/packages/react-jsx-highstock/package.json @@ -11,13 +11,24 @@ "build": "cross-env NODE_ENV=development ./node_modules/.bin/webpack", "build:prod": "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": { @@ -39,7 +50,8 @@ "data" ], "dependencies": { - "react-jsx-highcharts": "^2.2.1" + "react-jsx-highcharts": "^2.2.1", + "snyk": "^1.316.1" }, "devDependencies": { "babel-cli": "^6.24.1", @@ -85,5 +97,6 @@ "prop-types": "^15.0.0", "react": "^15.0.0 || ^16.0.0", "react-dom": "^15.0.0 || ^16.0.0" - } + }, + "snyk": true } From 9f540f9ee57a086dfb13f4d852adf2985636df39 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:48:10 +0300 Subject: [PATCH 2/2] fix: packages/react-jsx-highstock/package.json & packages/react-jsx-highstock/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/react-jsx-highstock/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 packages/react-jsx-highstock/.snyk diff --git a/packages/react-jsx-highstock/.snyk b/packages/react-jsx-highstock/.snyk new file mode 100644 index 00000000..bd15c9f7 --- /dev/null +++ b/packages/react-jsx-highstock/.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: + - react-jsx-highcharts > lodash: + patched: '2020-04-30T21:48:07.728Z'