Skip to content

Commit

Permalink
fix: site/package.json, site/package-lock.json & site/.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 Oct 9, 2022
1 parent 333128b commit 296ea6e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
10 changes: 9 additions & 1 deletion site/.snyk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
version: v1.25.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
Expand Down Expand Up @@ -50,3 +50,11 @@ patch:
patched: '2020-05-22T04:10:37.498Z'
- react-contentful > contentful > lodash:
patched: '2020-05-22T04:10:37.498Z'
- react-scripts > @typescript-eslint/parser > @typescript-eslint/typescript-estree > lodash:
patched: '2022-10-09T18:36:07.063Z'
- react-scripts > eslint > @eslint/eslintrc > lodash:
patched: '2022-10-09T18:36:07.063Z'
- react-scripts > eslint-plugin-testing-library > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > lodash:
patched: '2022-10-09T18:36:07.063Z'
- react-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > request-promise-native > request-promise-core > lodash:
patched: '2022-10-09T18:36:07.063Z'
5 changes: 5 additions & 0 deletions site/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 site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@
"react-redux": "^7.2.2",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.1",
"redux": "^4.0.5"
"redux": "^4.0.5",
"@snyk/protect": "latest"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build:docs": "react-scripts build && rm -rf ../docs && mv build ../docs",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"prepare": "npm run snyk-protect",
"snyk-protect": "snyk-protect"
},
"eslintConfig": {
"extends": "react-app"
Expand All @@ -31,5 +34,6 @@
],
"localDependencies": {
"react-contentful": ".."
}
},
"snyk": true
}

0 comments on commit 296ea6e

Please sign in to comment.