Skip to content

apply review

715e120
Select commit
Loading
Failed to load commit list.
Open

feat: restore focus after closing modal #1735

apply review
715e120
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Oct 2, 2025 in 0s

4 new security issues (0 max.).

Codacy 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

examples/cypress/src/App.js#L22

The `RegExp` constructor was called with a non-literal value.