feat(js)!: expose instance API + lifecycle callbacks #2826
+627
−68
Merged
Codacy Production / Codacy Static Code Analysis
required action
Jan 8, 2026 in 0s
1 new security issue (0 max.).
Here is an overview of what got changed by this pull request:
Issues
======
- Added 1
Complexity increasing per file
==============================
- packages/docsearch-js/src/docsearch.tsx 25
- packages/docsearch-react/src/DocSearchModal.tsx 12
- packages/docsearch-react/src/DocSearch.tsx 1
- examples/demo-js/src/main.ts 9
- packages/docsearch-core/src/DocSearch.tsx 41
- packages/docsearch-react/src/Sidepanel/Sidepanel.tsx 18
- packages/docsearch-sidepanel-js/src/sidepanel.tsx 20
- packages/docsearch-react/src/__tests__/imperative.test.tsx 36
See the complete overview on Codacy
Annotations
Check warning on line 19 in examples/demo-js/src/main.ts
codacy-production / Codacy Static Code Analysis
examples/demo-js/src/main.ts#L19
Detected string concatenation with a non-literal variable in a util.format / console.log function.
Loading