Skip to content

Commit d596595

Browse files
committed
fix: site/package.json, site/package-lock.json & site/.snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
1 parent 333128b commit d596595

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

site/.snyk

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2-
version: v1.14.1
2+
version: v1.25.0
33
ignore: {}
44
# patches apply the minimum changes required to fix a vulnerability
55
patch:
@@ -50,3 +50,11 @@ patch:
5050
patched: '2020-05-22T04:10:37.498Z'
5151
- react-contentful > contentful > lodash:
5252
patched: '2020-05-22T04:10:37.498Z'
53+
- react-scripts > @typescript-eslint/parser > @typescript-eslint/typescript-estree > lodash:
54+
patched: '2022-10-06T18:44:11.702Z'
55+
- react-scripts > eslint > @eslint/eslintrc > lodash:
56+
patched: '2022-10-06T18:44:11.702Z'
57+
- react-scripts > eslint-plugin-testing-library > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > lodash:
58+
patched: '2022-10-06T18:44:11.702Z'
59+
- react-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > request-promise-native > request-promise-core > lodash:
60+
patched: '2022-10-06T18:44:11.702Z'

site/package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@
1111
"react-redux": "^7.2.2",
1212
"react-router-dom": "^5.2.0",
1313
"react-scripts": "^4.0.1",
14-
"redux": "^4.0.5"
14+
"redux": "^4.0.5",
15+
"@snyk/protect": "latest"
1516
},
1617
"scripts": {
1718
"start": "react-scripts start",
1819
"build": "react-scripts build",
1920
"build:docs": "react-scripts build && rm -rf ../docs && mv build ../docs",
2021
"test": "react-scripts test",
21-
"eject": "react-scripts eject"
22+
"eject": "react-scripts eject",
23+
"prepare": "npm run snyk-protect",
24+
"snyk-protect": "snyk-protect"
2225
},
2326
"eslintConfig": {
2427
"extends": "react-app"
@@ -31,5 +34,6 @@
3134
],
3235
"localDependencies": {
3336
"react-contentful": ".."
34-
}
37+
},
38+
"snyk": true
3539
}

0 commit comments

Comments
 (0)