From 69a625818d622298cc605584d972f5cca61180b3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:19:28 +0530 Subject: [PATCH 1/2] fix: @packages/babel-preset-commitlint/package.json & @packages/babel-preset-commitlint/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- @packages/babel-preset-commitlint/package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index 5e22fe433c..2dbbe668cc 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -36,6 +36,12 @@ "@babel/plugin-transform-react-jsx": "^7.7.7", "@babel/plugin-transform-runtime": "^7.7.6", "@babel/preset-env": "^7.7.7", - "fast-async": "^7.0.6" - } + "fast-async": "^7.0.6", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From b1db5be6ebb8342755ddbdf3330157b8f62d19e4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:19:28 +0530 Subject: [PATCH 2/2] fix: @packages/babel-preset-commitlint/package.json & @packages/babel-preset-commitlint/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- @packages/babel-preset-commitlint/.snyk | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 @packages/babel-preset-commitlint/.snyk diff --git a/@packages/babel-preset-commitlint/.snyk b/@packages/babel-preset-commitlint/.snyk new file mode 100644 index 0000000000..4d55a317a8 --- /dev/null +++ b/@packages/babel-preset-commitlint/.snyk @@ -0,0 +1,24 @@ +# 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/preset-env > @babel/plugin-transform-block-scoping > lodash': + patched: '2020-05-01T01:49:26.053Z' + - fast-async > @babel/generator > lodash: + patched: '2020-05-01T01:49:26.053Z' + - '@babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash': + patched: '2020-05-01T01:49:26.053Z' + - fast-async > @babel/generator > @babel/types > lodash: + patched: '2020-05-01T01:49:26.053Z' + - '@babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash': + patched: '2020-05-01T01:49:26.053Z' + - '@babel/preset-env > @babel/preset-modules > @babel/plugin-transform-dotall-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash': + patched: '2020-05-01T01:49:26.053Z' + - '@babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/generator > lodash': + patched: '2020-05-01T01:49:26.053Z' + - '@babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash': + patched: '2020-05-01T01:49:26.053Z' + - '@babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash': + patched: '2020-05-01T01:49:26.053Z'