@easyops-cn/docusaurus-search-local 0.30.1 → 0.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.30.2](https://github.com/easyops-cn/docusaurus-search-local/compare/v0.30.1...v0.30.2) (2022-07-23)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * remove useDocsPreferredVersion error log entirely ([56f5ab5](https://github.com/easyops-cn/docusaurus-search-local/commit/56f5ab51a77f682c565d357bcbf7a37567c2b21e))
11
+ * use debug instead of console.error for useDocsPreferredVersion message ([3a09e39](https://github.com/easyops-cn/docusaurus-search-local/commit/3a09e39ef569a9dd1d99b1e251fdc79f909cff0f))
12
+
5
13
  ## [0.30.1](https://github.com/easyops-cn/docusaurus-search-local/compare/v0.30.0...v0.30.1) (2022-07-22)
6
14
 
7
15
 
@@ -49,7 +49,6 @@ export default function SearchBar({ handleSearchBarToggle, }) {
49
49
  catch (e) {
50
50
  if (indexDocs) {
51
51
  if (e instanceof ReactContextError) {
52
- console.error("useDocsPreferredVersion", e);
53
52
  /* ignore, happens when website doesn't use versions */
54
53
  }
55
54
  else {
@@ -40,7 +40,6 @@ function SearchPageContent() {
40
40
  catch (e) {
41
41
  if (indexDocs) {
42
42
  if (e instanceof ReactContextError) {
43
- console.error("useDocsPreferredVersion", e);
44
43
  /* ignore, happens when website doesn't use versions */
45
44
  }
46
45
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyops-cn/docusaurus-search-local",
3
- "version": "0.30.1",
3
+ "version": "0.30.2",
4
4
  "description": "An offline/local search plugin for Docusaurus v2",
5
5
  "repository": "https://github.com/easyops-cn/docusaurus-search-local",
6
6
  "homepage": "https://github.com/easyops-cn/docusaurus-search-local",