@apify/docs-theme 1.0.156 → 1.0.158

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.156",
3
+ "version": "1.0.158",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
@@ -19,18 +19,20 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@apify/docs-search-modal": "^1.1.1",
22
+ "@apify/docs-search-modal": "^1.2.0",
23
23
  "@docusaurus/theme-common": "3.7.0",
24
24
  "@stackql/docusaurus-plugin-hubspot": "^1.1.0",
25
- "axios": "^1.7.4",
26
- "babel-loader": "^9.1.3",
25
+ "algoliasearch": "^5.19.0",
26
+ "algoliasearch-helper": "^3.22.6",
27
+ "axios": "^1.7.9",
28
+ "babel-loader": "^9.2.1",
27
29
  "docusaurus-gtm-plugin": "^0.0.2",
28
- "postcss-preset-env": "^10.0.0",
29
- "prism-react-renderer": "^2.0.6",
30
+ "postcss-preset-env": "^10.1.3",
31
+ "prism-react-renderer": "^2.4.1",
30
32
  "remark-parse": "^11.0.0",
31
33
  "remark-stringify": "^11.0.0",
32
34
  "unified": "^11.0.5",
33
- "unist-util-visit-parents": "^6.0.0"
35
+ "unist-util-visit-parents": "^6.0.1"
34
36
  },
35
37
  "peerDependencies": {
36
38
  "clsx": "*",
@@ -1,8 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import React, { useEffect, useReducer, useRef, useState } from 'react';
3
3
  import clsx from 'clsx';
4
+ import { liteClient } from 'algoliasearch/lite';
4
5
  import algoliaSearchHelper from 'algoliasearch-helper';
5
- import algoliaSearch from 'algoliasearch/lite';
6
6
  import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
7
7
  import Head from '@docusaurus/Head';
8
8
  import { useAllDocsData } from '@docusaurus/plugin-content-docs/client';
@@ -117,7 +117,6 @@ function SearchPageContent() {
117
117
  const {
118
118
  algolia: { appId, apiKey, indexName },
119
119
  } = useAlgoliaThemeConfig();
120
- const processSearchResultUrl = useSearchResultUrlProcessor();
121
120
  const documentsFoundPlural = useDocumentsFoundPlural();
122
121
  const docsSearchVersionsHelpers = useDocsSearchVersionsHelpers();
123
122
  const [searchQuery, setSearchQuery] = useSearchQueryString();
@@ -167,7 +166,7 @@ function SearchPageContent() {
167
166
  },
168
167
  initialSearchResultState,
169
168
  );
170
- const algoliaClient = algoliaSearch(appId, apiKey);
169
+ const algoliaClient = liteClient(appId, apiKey);
171
170
  const algoliaHelper = algoliaSearchHelper(algoliaClient, indexName, {
172
171
  hitsPerPage: 15,
173
172
  advancedSyntax: true,