diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e11d588 --- /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: + - '@babel/core > lodash': + patched: '2020-04-30T23:00:36.678Z' + - '@babel/core > @babel/helper-module-transforms > lodash': + patched: '2020-04-30T23:00:36.678Z' + - '@babel/core > @babel/helpers > @babel/traverse > lodash': + patched: '2020-04-30T23:00:36.678Z' + - '@babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash': + patched: '2020-04-30T23:00:36.678Z' + - '@babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash': + patched: '2020-04-30T23:00:36.678Z' + - '@babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash': + patched: '2020-04-30T23:00:36.678Z' + - '@babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash': + patched: '2020-04-30T23:00:36.678Z' diff --git a/package.json b/package.json index 2cd56f1..8463884 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,16 @@ }, "dependencies": { "esoo-babel-plugin": "^1.0.0", - "@babel/core": "^7.4.5" + "@babel/core": "^7.4.5", + "snyk": "^1.316.1" }, "devDependencies": { "mathjs": "^6.0.2" }, "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", @@ -26,5 +29,6 @@ "bugs": { "url": "https://github.com/Seasonley/esoo-loader/issues" }, - "homepage": "https://github.com/Seasonley/esoo-loader#readme" + "homepage": "https://github.com/Seasonley/esoo-loader#readme", + "snyk": true }