Minor security and code fixes #305
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of change
Description
What does this PR do?
yarn audit
there are currently 116 vulnerabilities, this PR mostly tries to remediate some of the critical and high vulnerabilities by:axios
to0.21.4
to avoid the ReDoS attack (High Vulnerability) - https://security.snyk.io/vuln/SNYK-JS-AXIOS-1579269minimist
to1.2.6
to avoid Prototype pollution (yarn audit
seems to think it's a critical vulnerability while synk says it's a low severity vulnerability ) - https://snyk.io/test/npm/minimist/1.2.5cross-fetch
to3.1.5
to upgrade node-fetch to2.6.7
to avoid DoS(Denial of Service) and Information exposure (High vulnerability) - https://snyk.io/vuln/npm:node-fetchjsprim
to1.4.2
to upgradejson-schema
to0.4.0
to avoid Prototype pollution (Critical vulnerability) - https://snyk.io/vuln/npm:json-schemaupdateHistoryState()
method inhistory.js
Signed-off-by: Kartikey Mishra kartikeymishra.211199@gmail.com