diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..db8f12a --- /dev/null +++ b/.snyk @@ -0,0 +1,68 @@ +# 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: + - babel-core > lodash: + patched: '2020-05-01T06:05:17.832Z' + - griddle-react > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-generator > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-traverse > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-template > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > lodash: + patched: '2020-05-01T06:05:17.832Z' + - griddle-react > redux > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-template > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-generator > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-traverse > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-template > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-template > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-01T06:05:17.832Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T06:05:17.832Z' diff --git a/package.json b/package.json index 59a0e8c..57e6f15 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Spring Boot React", "main": "webpack.config.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -37,6 +39,8 @@ "react-s-alert": "^1.2.0", "react-skylight": "^0.4.1", "react-tap-event-plugin": "^2.0.1", - "spring-data-rest-js": "^0.2.21" - } + "spring-data-rest-js": "^0.2.21", + "snyk": "^1.316.1" + }, + "snyk": true }