diff --git a/examples/using-mobx/.snyk b/examples/using-mobx/.snyk new file mode 100644 index 0000000000000..fd81e5b31457c --- /dev/null +++ b/examples/using-mobx/.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:20:11.460Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-05T23:20:11.460Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-05T23:20:11.460Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-05T23:20:11.460Z' + - 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:20:11.460Z' + - 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:20:11.460Z' + - 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:20:11.460Z' + - 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:20:11.460Z' diff --git a/examples/using-mobx/package.json b/examples/using-mobx/package.json index 8b540611614c5..4ba82cfb21f31 100644 --- a/examples/using-mobx/package.json +++ b/examples/using-mobx/package.json @@ -10,7 +10,9 @@ "lint": "eslint **/*.{js,jsx} --quiet -o linterrors.txt --ignore-path .gitignore", "test": "echo \"Error: no test specified\" && exit 1", "deploy": "gh-pages -b gh-pages -d public", - "pre-deploy": "gatsby build --prefix-paths" + "pre-deploy": "gatsby build --prefix-paths", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "main": "n/a", "keywords": [ @@ -25,7 +27,8 @@ "mobx-react": "^5.2.8", "mobx-react-devtools": "^6.0.3", "react": "^16.5.0", - "react-dom": "^16.5.0" + "react-dom": "^16.5.0", + "snyk": "^1.319.0" }, "devDependencies": { "babel-eslint": "^9.0.0", @@ -38,5 +41,6 @@ "eslint-plugin-react": "^7.11.1", "gh-pages": "^1.2.0", "prettier": "^1.14.2" - } + }, + "snyk": true }