diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..6ff0b69 --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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-docgen > @babel/core > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-01T04:15:58.760Z' + - react-docgen > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-01T04:15:58.760Z' diff --git a/package.json b/package.json index 47acbfc..a688777 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,12 @@ "fast-glob": "^3.2.2", "react-docgen": "^5.3.0", "uppercamelcase": "^3.0.0", - "yargs": "^15.3.1" - } + "yargs": "^15.3.1", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" + }, + "snyk": true }