feat: restore focus after closing modal #1735
4 new security issues (0 max.).
Here is an overview of what got changed by this pull request:
Issues
======
- Added 4
Complexity increasing per file
==============================
- cypress/integration/search/actions.spec.ts 3
- packages/docsearch-react/src/DocSearch.tsx 5
- examples/cypress/src/App.js 3
Clones added
============
- examples/cypress/src/App.js 1
- examples/cypress/src/index.js 1
See the complete overview on Codacy
Annotations
Check warning on line 14 in examples/cypress/package.json
codacy-production / Codacy Static Code Analysis
examples/cypress/package.json#L14
Package dependencies with variant versions may lead to dependency hijack and confusion attacks.
Check warning on line 15 in examples/cypress/package.json
codacy-production / Codacy Static Code Analysis
examples/cypress/package.json#L15
Package dependencies with variant versions may lead to dependency hijack and confusion attacks.
Check warning on line 22 in examples/cypress/src/App.js
codacy-production / Codacy Static Code Analysis
examples/cypress/src/App.js#L22
RegExp() called with a `item` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread.
Check failure on line 22 in examples/cypress/src/App.js
codacy-production / Codacy Static Code Analysis
examples/cypress/src/App.js#L22
The `RegExp` constructor was called with a non-literal value.