I have resolved jQuery dependency with following steps in my react development project
npm install react-bootstrap bootstrap --save
npm audit fix --force
Result: found 0 vulnerabilities
It also fixes the issue, if another dependency is having issues.