From d6aa3fb3b0a0ec73c783253b6076cca156f56680 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 18:01:00 -0500 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 } From d53e02dcb73c882f9d184012c7bd1d82e4e66b1b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 18:01:01 -0500 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .snyk 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'