Skip to content

Commit e4e2181

Browse files
Merge pull request #830 from supertokens/fix/algolia
Use stable version of @docsearch/react
2 parents 0db29ef + b4ba6e6 commit e4e2181

File tree

4 files changed

+69
-66
lines changed

4 files changed

+69
-66
lines changed

v2/package-lock.json

Lines changed: 41 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"set-up-hooks": "cp ../hooks/pre-commit ../.git/hooks/pre-commit && chmod +x ../.git/hooks/pre-commit"
1818
},
1919
"dependencies": {
20+
"@docsearch/react": "^3.0.0",
2021
"@docusaurus/core": "2.0.0-beta.3",
2122
"@docusaurus/preset-classic": "2.0.0-beta.3",
2223
"@mdx-js/react": "^1.6.21",
@@ -47,4 +48,4 @@
4748
"@types/react": "^16.14.11",
4849
"typescript": "4.9.3"
4950
}
50-
}
51+
}

v2/src/theme/SearchBar/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
useActiveDocContext,
2323
} from '@theme/hooks/useDocs';
2424

25+
2526
let DocSearchModal = null;
2627

2728
function Hit({ hit, children }) {

v2/yarn.lock

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
# yarn lockfile v1
33

44

5-
"@algolia/autocomplete-core@1.2.1":
6-
"integrity" "sha512-/SLS6636Wpl7eFiX7eEy0E3wBo60sUm1qRYybJBDt1fs8reiJ1+OSy+dZgrLBfLL4mSFqRIIUHXbVp25QdZ+iw=="
7-
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.2.1.tgz"
8-
"version" "1.2.1"
5+
"@algolia/autocomplete-core@1.5.2":
6+
"integrity" "sha512-DY0bhyczFSS1b/CqJlTE/nQRtnTAHl6IemIkBy0nEWnhDzRDdtdx4p5Uuk3vwAFxwEEgi1WqKwgSSMx6DpNL4A=="
7+
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.5.2.tgz"
8+
"version" "1.5.2"
99
dependencies:
10-
"@algolia/autocomplete-shared" "1.2.1"
10+
"@algolia/autocomplete-shared" "1.5.2"
1111

12-
"@algolia/autocomplete-preset-algolia@1.2.1":
13-
"integrity" "sha512-Lf4PpPVgHNXm1ytrnVdrZYV7hAYSCpAI/TrebF8UC6xflPY6sKb1RL/2OfrO9On7SDjPBtNd+6MArSar5JmK0g=="
14-
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.2.1.tgz"
15-
"version" "1.2.1"
12+
"@algolia/autocomplete-preset-algolia@1.5.2":
13+
"integrity" "sha512-3MRYnYQFJyovANzSX2CToS6/5cfVjbLLqFsZTKcvF3abhQzxbqwwaMBlJtt620uBUOeMzhdfasKhCc40+RHiZw=="
14+
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.2.tgz"
15+
"version" "1.5.2"
1616
dependencies:
17-
"@algolia/autocomplete-shared" "1.2.1"
17+
"@algolia/autocomplete-shared" "1.5.2"
1818

19-
"@algolia/autocomplete-shared@1.2.1":
20-
"integrity" "sha512-RHCwcXAYFwDXTlomstjWRFIzOfyxtQ9KmViacPE5P5hxUSSjkmG3dAb77xdydift1PaZNbho5TNTCi5UZe0RpA=="
21-
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.2.1.tgz"
22-
"version" "1.2.1"
19+
"@algolia/autocomplete-shared@1.5.2":
20+
"integrity" "sha512-ylQAYv5H0YKMfHgVWX0j0NmL8XBcAeeeVQUmppnnMtzDbDnca6CzhKj3Q8eF9cHCgcdTDdb5K+3aKyGWA0obug=="
21+
"resolved" "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.2.tgz"
22+
"version" "1.5.2"
2323

2424
"@algolia/cache-browser-local-storage@4.10.3":
2525
"integrity" "sha512-TD1N7zg5lb56/PLjjD4bBl2eccEvVHhC7yfgFu2r9k5tf+gvbGxEZ3NhRZVKu2MObUIcEy2VR4LVLxOQu45Hlg=="
@@ -1145,19 +1145,19 @@
11451145
"@babel/helper-validator-identifier" "^7.14.5"
11461146
"to-fast-properties" "^2.0.0"
11471147

1148-
"@docsearch/css@3.0.0-alpha.37":
1149-
"integrity" "sha512-EUr2AhvFw+TYPrkfePjDWh3NqpJgpwM8v6n8Mf0rUnL/ThxXKsdamzfBqWCWAh+N1o+eeGqypvy+p8Fp8dZXhQ=="
1150-
"resolved" "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0-alpha.37.tgz"
1151-
"version" "3.0.0-alpha.37"
1148+
"@docsearch/css@3.0.0":
1149+
"integrity" "sha512-1kkV7tkAsiuEd0shunYRByKJe3xQDG2q7wYg24SOw1nV9/2lwEd4WrUYRJC/ukGTl2/kHeFxsaUvtiOy0y6fFA=="
1150+
"resolved" "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0.tgz"
1151+
"version" "3.0.0"
11521152

1153-
"@docsearch/react@^3.0.0-alpha.36":
1154-
"integrity" "sha512-W/O3OfL+LLQTlGXrT8/d7ztBYKgZmDWweu9f0O/41zV6Hirzo/qZEWzr25ky8utFUcMwj1pfTHLOp1F9UCtLAQ=="
1155-
"resolved" "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0-alpha.37.tgz"
1156-
"version" "3.0.0-alpha.37"
1153+
"@docsearch/react@^3.0.0", "@docsearch/react@^3.0.0-alpha.36":
1154+
"integrity" "sha512-yhMacqS6TVQYoBh/o603zszIb5Bl8MIXuOc6Vy617I74pirisDzzcNh0NEaYQt50fVVR3khUbeEhUEWEWipESg=="
1155+
"resolved" "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0.tgz"
1156+
"version" "3.0.0"
11571157
dependencies:
1158-
"@algolia/autocomplete-core" "1.2.1"
1159-
"@algolia/autocomplete-preset-algolia" "1.2.1"
1160-
"@docsearch/css" "3.0.0-alpha.37"
1158+
"@algolia/autocomplete-core" "1.5.2"
1159+
"@algolia/autocomplete-preset-algolia" "1.5.2"
1160+
"@docsearch/css" "3.0.0"
11611161
"algoliasearch" "^4.0.0"
11621162

11631163
"@docusaurus/core@2.0.0-beta.3":

0 commit comments

Comments
 (0)