Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 1 vulnerabilities #181

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions examples/simple-auth/.snyk
Original file line number Diff line number Diff line change
@@ -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-06T03:32:15.297Z'
- gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash:
patched: '2020-05-06T03:32:15.297Z'
- gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash:
patched: '2020-05-06T03:32:15.297Z'
- gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash:
patched: '2020-05-06T03:32:15.297Z'
- 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-06T03:32:15.297Z'
- 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-06T03:32:15.297Z'
- 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-06T03:32:15.297Z'
- 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-06T03:32:15.297Z'
10 changes: 7 additions & 3 deletions examples/simple-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"prop-types": "^15.6.1",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-helmet": "^5.2.0"
"react-helmet": "^5.2.0",
"snyk": "^1.319.0"
},
"keywords": [
"gatsby"
Expand All @@ -20,6 +21,9 @@
"develop": "gatsby develop",
"format": "prettier --write 'src/**/*.js'",
"start": "npm run develop",
"test": "echo \"Error: no test specified\" && exit 1"
}
"test": "echo \"Error: no test specified\" && exit 1",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"snyk": true
}