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' 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 }