From ae6de0d6169a5a3b49d5d1fb615946677be783e9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 18:36:36 -0400 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7ae01db --- /dev/null +++ b/.snyk @@ -0,0 +1,34 @@ +# 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: + - gridsome > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gh-pages > async > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > @babel/core > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > html-webpack-plugin > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > webpack-merge > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > @babel/core > @babel/traverse > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > @vue/babel-preset-app > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > @vue/babel-preset-app > @babel/preset-env > @babel/plugin-transform-modules-umd > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > @vue/babel-preset-app > @babel/preset-env > @babel/plugin-transform-parameters > @babel/helper-call-delegate > @babel/traverse > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > @vue/babel-preset-app > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > lodash: + patched: '2020-04-30T22:36:34.325Z' + - gridsome > @vue/babel-preset-app > @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-04-30T22:36:34.325Z' + - gridsome > @vue/babel-preset-app > @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-04-30T22:36:34.325Z' + - gridsome > @vue/babel-preset-app > @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/helper-get-function-arity > @babel/types > lodash: + patched: '2020-04-30T22:36:34.325Z' From ebb76957aa6dbf88b848c8939d7911e2a2b66bfd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 18:36:37 -0400 Subject: [PATCH 2/2] fix: .snyk & package.json 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 d71e23f..dde6072 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "scripts": { "build": "gridsome build", "develop": "gridsome develop", - "explore": "gridsome explore" + "explore": "gridsome explore", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "dependencies": { "@gridsome/source-filesystem": "^0.5.0", @@ -12,6 +14,8 @@ "@gridsome/transformer-yaml": "^0.2.1", "gh-pages": "^2.0.1", "gridsome": "^0.6.0", - "lunr": "^2.3.6" - } + "lunr": "^2.3.6", + "snyk": "^1.316.1" + }, + "snyk": true }