diff --git a/packages/react-jsx-highcharts/.snyk b/packages/react-jsx-highcharts/.snyk new file mode 100644 index 00000000..09818659 --- /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.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - lodash: + patched: '2019-07-04T03:39:49.306Z' diff --git a/packages/react-jsx-highcharts/package.json b/packages/react-jsx-highcharts/package.json index d9a056c2..f6acb8fc 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.189.0" }, "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 }