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 4 vulnerabilities #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
fix: examples/todos-with-undo/package.json, examples/todos-with-undo/…
…package-lock.json & examples/todos-with-undo/.snyk to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NODEFETCH-2342118
- https://snyk.io/vuln/SNYK-JS-NODEFETCH-674311
- https://snyk.io/vuln/npm:react-dom:20180802


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
snyk-bot committed Oct 7, 2022

Verified

This commit was signed with the committer’s verified signature.
mcollina Matteo Collina
commit 930d95c4a1bfd67d27ce58fd22a2a5b06678331e
12 changes: 12 additions & 0 deletions examples/todos-with-undo/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- redux > lodash:
patched: '2022-10-07T22:37:41.469Z'
- redux-undo > redux > lodash:
patched: '2022-10-07T22:37:41.469Z'
- react-redux > lodash:
patched: '2022-10-07T22:37:41.469Z'
164 changes: 64 additions & 100 deletions examples/todos-with-undo/package-lock.json
16 changes: 10 additions & 6 deletions examples/todos-with-undo/package.json
Original file line number Diff line number Diff line change
@@ -6,23 +6,27 @@
"react-scripts": "^2.0.2"
},
"dependencies": {
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"prop-types": "^15.6.2",
"react": "^16.5.0",
"react-dom": "^16.5.0",
"react-redux": "^5.0.7",
"redux": "^3.5.2",
"redux-undo": "^0.6.1"
"redux-undo": "^0.6.1",
"@snyk/protect": "latest"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"test": "react-scripts test --env=node --passWithNoTests"
"test": "react-scripts test --env=node --passWithNoTests",
"prepare": "npm run snyk-protect",
"snyk-protect": "snyk-protect"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"snyk": true
}