diff --git a/benchmarks/markdown/.snyk b/benchmarks/markdown/.snyk new file mode 100644 index 0000000000000..dc8fd5287e585 --- /dev/null +++ b/benchmarks/markdown/.snyk @@ -0,0 +1,22 @@ +# 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 > gatsby-plugin-typescript > @babel/core > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-05T23:35:56.715Z' diff --git a/benchmarks/markdown/package.json b/benchmarks/markdown/package.json index 93bbf38837461..1aa3a0ce3f9ea 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.319.0" }, "devDependencies": { "faker": "^4.1.0", "gray-matter": "^4.0.1" - } + }, + "snyk": true }