diff --git a/benchmarks/markdown/.snyk b/benchmarks/markdown/.snyk new file mode 100644 index 0000000000000..c40c505f23b08 --- /dev/null +++ b/benchmarks/markdown/.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-29T23:23:33.414Z' diff --git a/benchmarks/markdown/package.json b/benchmarks/markdown/package.json index 93bbf38837461..dc259bf8dd229 100644 --- a/benchmarks/markdown/package.json +++ b/benchmarks/markdown/package.json @@ -5,16 +5,20 @@ "scripts": { "develop": "gatsby develop", "build": "gatsby build", - "serve": "gatsby serve" + "serve": "gatsby serve", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "gatsby": "^2.0.9", "gatsby-transformer-remark": "^2.1.4", "react": "^16.3.2", - "react-dom": "^16.3.2" + "react-dom": "^16.3.2", + "snyk": "^1.332.1" }, "devDependencies": { "faker": "^4.1.0", "gray-matter": "^4.0.1" - } + }, + "snyk": true }