From f92a12476b40be069eb09ff1981587dd4becfc84 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 30 May 2020 03:48:52 +0000 Subject: [PATCH] fix: examples/feed/package.json & examples/feed/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/feed/.snyk | 8 ++++++++ examples/feed/package.json | 14 ++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 examples/feed/.snyk diff --git a/examples/feed/.snyk b/examples/feed/.snyk new file mode 100644 index 0000000000000..862cd8558fa88 --- /dev/null +++ b/examples/feed/.snyk @@ -0,0 +1,8 @@ +# 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: + - gatsby-transformer-remark > sanitize-html > lodash: + patched: '2020-05-30T03:48:50.256Z' diff --git a/examples/feed/package.json b/examples/feed/package.json index ea2a51b728b58..58baac7afc0c0 100644 --- a/examples/feed/package.json +++ b/examples/feed/package.json @@ -8,13 +8,19 @@ "gatsby": "latest", "gatsby-source-filesystem": "latest", "gatsby-transformer-remark": "latest", - "gatsby-plugin-feed": "latest" + "gatsby-plugin-feed": "latest", + "snyk": "^1.332.1" }, - "keywords": ["gatsby"], + "keywords": [ + "gatsby" + ], "license": "MIT", "main": "index.js", "scripts": { "develop": "gatsby develop", - "build": "gatsby build" - } + "build": "gatsby build", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }