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' 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 }