Skip to content

Commit

Permalink
fix: docs/package.json, docs/package-lock.json & docs/.snyk to reduce…
Browse files Browse the repository at this point in the history
… vulnerabilities

The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
  • Loading branch information
snyk-bot committed Aug 27, 2024
1 parent 856a2bd commit 69578dd
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 11 deletions.
36 changes: 36 additions & 0 deletions docs/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- docz > gatsby > gatsby-cli > gatsby-recipes > @babel/template > @babel/types > lodash:
patched: '2024-08-27T07:00:54.286Z'
id: SNYK-JS-LODASH-567746
path: >-
docz > gatsby > gatsby-cli > gatsby-recipes > @babel/template >
@babel/types > lodash
- gatsby-theme-docz > gatsby > gatsby-cli > gatsby-recipes > remark-mdxjs > @babel/core > lodash:
patched: '2024-08-27T07:00:54.286Z'
id: SNYK-JS-LODASH-567746
path: >-
gatsby-theme-docz > gatsby > gatsby-cli > gatsby-recipes >
remark-mdxjs > @babel/core > lodash
- docz > gatsby > gatsby-cli > gatsby-recipes > remark-mdxjs > @babel/core > lodash:
patched: '2024-08-27T07:00:54.286Z'
id: SNYK-JS-LODASH-567746
path: >-
docz > gatsby > gatsby-cli > gatsby-recipes > remark-mdxjs >
@babel/core > lodash
- gatsby-theme-docz > gatsby > gatsby-cli > gatsby-recipes > remark-mdxjs > @babel/core > @babel/helper-module-transforms > lodash:
patched: '2024-08-27T07:00:54.286Z'
id: SNYK-JS-LODASH-567746
path: >-
gatsby-theme-docz > gatsby > gatsby-cli > gatsby-recipes >
remark-mdxjs > @babel/core > @babel/helper-module-transforms > lodash
- docz > gatsby > gatsby-cli > gatsby-recipes > remark-mdxjs > @babel/core > @babel/helper-module-transforms > lodash:
patched: '2024-08-27T07:00:54.286Z'
id: SNYK-JS-LODASH-567746
path: >-
docz > gatsby > gatsby-cli > gatsby-recipes > remark-mdxjs >
@babel/core > @babel/helper-module-transforms > lodash
21 changes: 13 additions & 8 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"react-helmet": "^6.1.0",
"swagger-ui-react": "^3.36.2",
"theme-ui": "^0.3.1",
"three": "^0.125.0"
"three": "^0.125.0",
"@snyk/protect": "latest"
},
"devDependencies": {
"eslint-config-airbnb": "^18.2.1",
Expand All @@ -61,7 +62,9 @@
"clean": "gatsby clean",
"lint": "eslint src/ --ext .ts,.js,.tsx,.jsx",
"lint-fix": "eslint --fix src/ --ext .ts,.js,.tsx,.jsx",
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\" && exit 1"
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\" && exit 1",
"prepare": "npm run snyk-protect",
"snyk-protect": "snyk-protect"
},
"repository": {
"type": "git",
Expand All @@ -75,5 +78,6 @@
},
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
}
},
"snyk": true
}

0 comments on commit 69578dd

Please sign in to comment.