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 #215

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
10 changes: 10 additions & 0 deletions packages/gatsby-plugin-sharp/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 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:
- lodash:
patched: '2020-05-01T05:27:35.795Z'
- async > lodash:
patched: '2020-05-01T05:27:35.795Z'
11 changes: 7 additions & 4 deletions packages/gatsby-plugin-sharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"probe-image-size": "^4.0.0",
"progress": "^1.1.8",
"sharp": "^0.20.2",
"svgo": "^0.7.2"
"svgo": "^0.7.2",
"snyk": "^1.316.1"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
Expand All @@ -42,8 +43,10 @@
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sharp",
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"prepare": "npm run snyk-protect && cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"snyk-protect": "snyk protect"
},
"gitHead": "5bd5aebe066b9875354a81a4b9ed98722731c465"
"gitHead": "5bd5aebe066b9875354a81a4b9ed98722731c465",
"snyk": true
}