diff --git a/examples/using-gatsby-image/.snyk b/examples/using-gatsby-image/.snyk new file mode 100644 index 0000000000000..4c98d1a9234c5 --- /dev/null +++ b/examples/using-gatsby-image/.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: + 'npm:lodash:20180130': + - gatsby > webpack-configurator > lodash: + patched: '2020-02-20T05:16:17.638Z' diff --git a/examples/using-gatsby-image/package.json b/examples/using-gatsby-image/package.json index 4abd96afe7355..747fd3099165b 100644 --- a/examples/using-gatsby-image/package.json +++ b/examples/using-gatsby-image/package.json @@ -4,7 +4,7 @@ "description": "Gatsby example site using using-gatsby-image", "author": "Kyle Mathews ", "dependencies": { - "gatsby": "^1.9.77", + "gatsby": "^2.0.0", "gatsby-image": "^1.0.14", "gatsby-link": "^1.6.23", "gatsby-plugin-glamor": "^1.6.7", @@ -17,12 +17,16 @@ "typeface-oswald": "^0.0.40", "typeface-pt-sans": "^0.0.40", "typography": "^0.16.6", - "typography-theme-elk-glen": "^0.16.9" + "typography-theme-elk-glen": "^0.16.9", + "snyk": "^1.294.0" }, "license": "MIT", "main": "n/a", "scripts": { "develop": "gatsby develop", - "build": "gatsby build" - } + "build": "gatsby build", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }