@rspress/plugin-algolia 2.0.16 → 2.0.17

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.
@@ -5,12 +5,12 @@ import { Link } from "@rspress/core/theme";
5
5
  import "@docsearch/css";
6
6
  import "./Search.css";
7
7
  import { useEffect } from "react";
8
- import * as __rspack_external_react_dom_7136dc57 from "react-dom";
8
+ import * as __rspack_external_react_dom_20ef40a6 from "react-dom";
9
9
  const Hit = ({ hit, children })=>/*#__PURE__*/ jsx(Link, {
10
10
  href: hit.url,
11
11
  children: children
12
12
  });
13
- const safePreconnect = __rspack_external_react_dom_7136dc57.preconnect;
13
+ const safePreconnect = __rspack_external_react_dom_20ef40a6.preconnect;
14
14
  function Search({ locales = {}, docSearchProps }) {
15
15
  const navigate = useNavigate();
16
16
  const lang = useLang();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-algolia",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "A plugin for rspress to search with algolia in docs.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-extractor": "^7.58.9",
42
- "@rsbuild/plugin-react": "~2.0.1",
43
- "@rslib/core": "0.23.0",
42
+ "@rsbuild/plugin-react": "~2.1.0",
43
+ "@rslib/core": "0.23.2",
44
44
  "@types/node": "^22.8.1",
45
45
  "@types/react": "^19.2.17",
46
46
  "@types/react-dom": "^19.2.3",