diff --git a/examples/using-mobx/.snyk b/examples/using-mobx/.snyk new file mode 100644 index 0000000000000..f57069d468e0f --- /dev/null +++ b/examples/using-mobx/.snyk @@ -0,0 +1,172 @@ +# 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 > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > @babel/core > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > css-loader > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > devcert > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > eslint > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > webpack-merge > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > @typescript-eslint/parser > @typescript-eslint/typescript-estree > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-eslint > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > eslint > inquirer > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > eslint > table > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > eslint-plugin-graphql > graphql-config > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > react-dev-utils > inquirer > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > @typescript-eslint/parser > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @babel/core > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > @pmmmwh/react-refresh-webpack-plugin > react-dev-utils > inquirer > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > yurnalist > inquirer > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > gatsby-telemetry > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > webpack-dev-server > portfinder > async > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > @babel/core > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-eslint > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/preset-modules > @babel/plugin-transform-dotall-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/preset-modules > @babel/plugin-transform-dotall-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:21:36.645Z' diff --git a/examples/using-mobx/package.json b/examples/using-mobx/package.json index 8b540611614c5..e54b7c2e1961a 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.316.1" }, "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 }