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 }