diff --git a/examples/instantsearch/env.ts b/examples/instantsearch/env.ts
index 6eef24529..674a16a13 100644
--- a/examples/instantsearch/env.ts
+++ b/examples/instantsearch/env.ts
@@ -1,10 +1,6 @@
-import * as preact from 'preact';
-
// Parcel picks the `source` field of the monorepo packages and thus doesn't
// apply the Babel config. We therefore need to manually override the constants
// in the app, as well as the React pragmas.
// See https://twitter.com/devongovett/status/1134231234605830144
(global as any).__DEV__ = process.env.NODE_ENV !== 'production';
(global as any).__TEST__ = false;
-(global as any).h = preact.h;
-(global as any).React = preact;
diff --git a/examples/instantsearch/package.json b/examples/instantsearch/package.json
index f755376c6..85e00e93b 100644
--- a/examples/instantsearch/package.json
+++ b/examples/instantsearch/package.json
@@ -13,10 +13,9 @@
"@algolia/autocomplete-plugin-query-suggestions": "1.7.3",
"@algolia/autocomplete-plugin-recent-searches": "1.7.3",
"@algolia/autocomplete-theme-classic": "1.7.3",
- "@algolia/client-search": "4.9.1",
- "algoliasearch": "4.9.1",
- "instantsearch.js": "4.22.0",
- "preact": "10.5.13"
+ "@algolia/client-search": "4.14.2",
+ "algoliasearch": "4.14.2",
+ "instantsearch.js": "4.49.0"
},
"devDependencies": {
"parcel": "2.7.0"
diff --git a/examples/instantsearch/src/app.ts b/examples/instantsearch/src/app.ts
index 357075277..8dbed2791 100644
--- a/examples/instantsearch/src/app.ts
+++ b/examples/instantsearch/src/app.ts
@@ -5,4 +5,4 @@ import { startAutocomplete } from './autocomplete';
import { search } from './instantsearch';
search.start();
-startAutocomplete();
+startAutocomplete(search);
diff --git a/examples/instantsearch/src/autocomplete.tsx b/examples/instantsearch/src/autocomplete.tsx
index deb8cc6dd..e26f587b4 100644
--- a/examples/instantsearch/src/autocomplete.tsx
+++ b/examples/instantsearch/src/autocomplete.tsx
@@ -3,7 +3,7 @@
import { autocomplete } from '@algolia/autocomplete-js';
import { createQuerySuggestionsPlugin } from '@algolia/autocomplete-plugin-query-suggestions';
import { createLocalStorageRecentSearchesPlugin } from '@algolia/autocomplete-plugin-recent-searches';
-import { h, Fragment } from 'preact';
+import { InstantSearch } from 'instantsearch.js';
import {
debouncedSetInstantSearchUiState,
@@ -42,7 +42,7 @@ function getItemUrl({ query, category }) {
});
}
-function ItemWrapper({ children, query, category }) {
+function getItemWrapper({ html, children, query, category }) {
const uiState = {
query,
hierarchicalMenu: {
@@ -50,21 +50,19 @@ function ItemWrapper({ children, query, category }) {
},
};
- return (
- {
- if (!isModifierEvent(event)) {
- // Bypass the original link behavior if there's no event modifier
- // to set the InstantSearch UI state without reloading the page.
- event.preventDefault();
- }
- }}
- >
- {children}
-
- );
+ return html` {
+ if (!isModifierEvent(event)) {
+ // Bypass the original link behavior if there's no event modifier
+ // to set the InstantSearch UI state without reloading the page.
+ event.preventDefault();
+ }
+ }}
+ >
+ ${children}
+ `;
}
const recentSearchesPlugin = createLocalStorageRecentSearchesPlugin({
@@ -94,15 +92,14 @@ const recentSearchesPlugin = createLocalStorageRecentSearchesPlugin({
// and plug it to the InstantSearch router.
item(params) {
const { children } = (source.templates.item(params) as any).props;
+ const { item, html } = params;
- return (
-
- {children}
-
- );
+ return getItemWrapper({
+ query: item.label,
+ category: item.category,
+ html,
+ children,
+ });
},
},
};
@@ -115,7 +112,7 @@ const querySuggestionsPluginInCategory = createQuerySuggestionsPlugin({
getSearchParams() {
const currentCategory = getInstantSearchCurrentCategory();
- return recentSearchesPlugin.data.getAlgoliaSearchParams({
+ return recentSearchesPlugin.data!.getAlgoliaSearchParams({
hitsPerPage: 3,
facetFilters: [
`${INSTANT_SEARCH_INDEX_NAME}.facets.exact_matches.${INSTANT_SEARCH_HIERARCHICAL_ATTRIBUTE}.value:${currentCategory}`,
@@ -152,22 +149,22 @@ const querySuggestionsPluginInCategory = createQuerySuggestionsPlugin({
},
templates: {
...source.templates,
- header() {
- return (
-
- In {currentCategory}
-
-
- );
+ header({ html }) {
+ return html`
+
+
+ `;
},
item(params) {
const { children } = (source.templates.item(params) as any).props;
+ const { item, html } = params;
- return (
-
- {children}
-
- );
+ return getItemWrapper({
+ query: item.query,
+ category: currentCategory,
+ html,
+ children,
+ });
},
},
};
@@ -181,12 +178,12 @@ const querySuggestionsPlugin = createQuerySuggestionsPlugin({
const currentCategory = getInstantSearchCurrentCategory();
if (!currentCategory) {
- return recentSearchesPlugin.data.getAlgoliaSearchParams({
+ return recentSearchesPlugin.data!.getAlgoliaSearchParams({
hitsPerPage: 6,
});
}
- return recentSearchesPlugin.data.getAlgoliaSearchParams({
+ return recentSearchesPlugin.data!.getAlgoliaSearchParams({
hitsPerPage: 3,
facetFilters: [
`${INSTANT_SEARCH_INDEX_NAME}.facets.exact_matches.${INSTANT_SEARCH_HIERARCHICAL_ATTRIBUTE}.value:-${currentCategory}`,
@@ -229,29 +226,26 @@ const querySuggestionsPlugin = createQuerySuggestionsPlugin({
},
templates: {
...source.templates,
- header() {
+ header({ html }) {
if (!currentCategory) {
return null;
}
- return (
-
- In other categories
-
-
- );
+ return html`
+
+
+ `;
},
item(params) {
const { children } = (source.templates.item(params) as any).props;
+ const { item, html } = params;
- return (
-
- {children}
-
- );
+ return getItemWrapper({
+ query: item.query,
+ category: item.__autocomplete_qsCategory,
+ html,
+ children,
+ });
},
},
};
@@ -260,8 +254,10 @@ const querySuggestionsPlugin = createQuerySuggestionsPlugin({
const searchPageState = getInstantSearchUiState();
-export function startAutocomplete() {
- autocomplete({
+export function startAutocomplete(searchInstance: InstantSearch) {
+ let skipInstantSearchStateUpdate = false;
+
+ const { setQuery } = autocomplete({
container: '#autocomplete',
placeholder: 'Search for products',
openOnFocus: true,
@@ -292,9 +288,17 @@ export function startAutocomplete() {
});
},
onStateChange({ prevState, state }) {
- if (prevState.query !== state.query) {
+ if (!skipInstantSearchStateUpdate && prevState.query !== state.query) {
debouncedSetInstantSearchUiState({ query: state.query });
}
+ skipInstantSearchStateUpdate = false;
},
});
+
+ window.addEventListener('popstate', () => {
+ skipInstantSearchStateUpdate = true;
+ setQuery(
+ (searchInstance.helper && searchInstance.helper.state.query) || ''
+ );
+ });
}
diff --git a/examples/instantsearch/src/instantsearch.ts b/examples/instantsearch/src/instantsearch.ts
index a01fc40a5..4a024f5e8 100644
--- a/examples/instantsearch/src/instantsearch.ts
+++ b/examples/instantsearch/src/instantsearch.ts
@@ -58,17 +58,16 @@ search.addWidgets([
}));
},
templates: {
- item: `
+ item: (hit, { html, components }) => html`
-
+
-
- {{#helpers.snippet}}{ "attribute": "name" }{{/helpers.snippet}}
-
+
${components.Snippet({ hit, attribute: 'name' })}
- By {{brand}} in {{category}}
+ By ${hit.brand} in
+ ${hit.category}
@@ -81,7 +80,8 @@ search.addWidgets([
gap: 8px;
"
>
- {{#rating}}
+ ${hit.rating > 0 &&
+ html`
-
+
- {{rating}}
+ ${hit.rating}
- {{/rating}}
+ `}
-
+
-
{{comments}}
+
${hit.comments}
diff --git a/yarn.lock b/yarn.lock
index 55fdbea03..e141e538f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -132,6 +132,13 @@
dependencies:
"@algolia/cache-common" "4.12.1"
+"@algolia/cache-browser-local-storage@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.14.2.tgz#d5b1b90130ca87c6321de876e167df9ec6524936"
+ integrity sha512-FRweBkK/ywO+GKYfAWbrepewQsPTIEirhi1BdykX9mxvBPtGNKccYAxvGdDCumU1jL4r3cayio4psfzKMejBlA==
+ dependencies:
+ "@algolia/cache-common" "4.14.2"
+
"@algolia/cache-browser-local-storage@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.9.1.tgz#784e91580dcca00a8280b0905197f5abbbdf4b48"
@@ -149,6 +156,11 @@
resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.12.1.tgz#d3f1676ca9c404adce0f78d68f6381bedb44cd9c"
integrity sha512-UugTER3V40jT+e19Dmph5PKMeliYKxycNPwrPNADin0RcWNfT2QksK9Ff2N2W7UKraqMOzoeDb4LAJtxcK1a8Q==
+"@algolia/cache-common@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.14.2.tgz#b946b6103c922f0c06006fb6929163ed2c67d598"
+ integrity sha512-SbvAlG9VqNanCErr44q6lEKD2qoK4XtFNx9Qn8FK26ePCI8I9yU7pYB+eM/cZdS9SzQCRJBbHUumVr4bsQ4uxg==
+
"@algolia/cache-common@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.9.1.tgz#2d5f37ba7aab7db76627c4a4fce51a7fd137fa65"
@@ -168,6 +180,13 @@
dependencies:
"@algolia/cache-common" "4.12.1"
+"@algolia/cache-in-memory@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.14.2.tgz#88e4a21474f9ac05331c2fa3ceb929684a395a24"
+ integrity sha512-HrOukWoop9XB/VFojPv1R5SVXowgI56T9pmezd/djh2JnVN/vXswhXV51RKy4nCpqxyHt/aGFSq2qkDvj6KiuQ==
+ dependencies:
+ "@algolia/cache-common" "4.14.2"
+
"@algolia/cache-in-memory@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.9.1.tgz#3fd1d67aec804b6cc8439015b8b9c712a45c7ae0"
@@ -193,6 +212,15 @@
"@algolia/client-search" "4.12.1"
"@algolia/transporter" "4.12.1"
+"@algolia/client-account@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.14.2.tgz#b76ac1ba9ea71e8c3f77a1805b48350dc0728a16"
+ integrity sha512-WHtriQqGyibbb/Rx71YY43T0cXqyelEU0lB2QMBRXvD2X0iyeGl4qMxocgEIcbHyK7uqE7hKgjT8aBrHqhgc1w==
+ dependencies:
+ "@algolia/client-common" "4.14.2"
+ "@algolia/client-search" "4.14.2"
+ "@algolia/transporter" "4.14.2"
+
"@algolia/client-account@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.9.1.tgz#f2c1b3e49de2ee1fca44b8b5e64e1ce0dbdff0db"
@@ -222,6 +250,16 @@
"@algolia/requester-common" "4.12.1"
"@algolia/transporter" "4.12.1"
+"@algolia/client-analytics@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.14.2.tgz#ca04dcaf9a78ee5c92c5cb5e9c74cf031eb2f1fb"
+ integrity sha512-yBvBv2mw+HX5a+aeR0dkvUbFZsiC4FKSnfqk9rrfX+QrlNOKEhCG0tJzjiOggRW4EcNqRmaTULIYvIzQVL2KYQ==
+ dependencies:
+ "@algolia/client-common" "4.14.2"
+ "@algolia/client-search" "4.14.2"
+ "@algolia/requester-common" "4.14.2"
+ "@algolia/transporter" "4.14.2"
+
"@algolia/client-analytics@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.9.1.tgz#56972496526910c53c5ce7844f4571efba63eb5f"
@@ -248,6 +286,14 @@
"@algolia/requester-common" "4.12.1"
"@algolia/transporter" "4.12.1"
+"@algolia/client-common@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.14.2.tgz#e1324e167ffa8af60f3e8bcd122110fd0bfd1300"
+ integrity sha512-43o4fslNLcktgtDMVaT5XwlzsDPzlqvqesRi4MjQz2x4/Sxm7zYg5LRYFol1BIhG6EwxKvSUq8HcC/KxJu3J0Q==
+ dependencies:
+ "@algolia/requester-common" "4.14.2"
+ "@algolia/transporter" "4.14.2"
+
"@algolia/client-common@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.9.1.tgz#ae313b65d3249efcb4fafd2e92ed1fa2fd075482"
@@ -274,6 +320,15 @@
"@algolia/requester-common" "4.12.1"
"@algolia/transporter" "4.12.1"
+"@algolia/client-personalization@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-4.14.2.tgz#656bbb6157a3dd1a4be7de65e457fda136c404ec"
+ integrity sha512-ACCoLi0cL8CBZ1W/2juehSltrw2iqsQBnfiu/Rbl9W2yE6o2ZUb97+sqN/jBqYNQBS+o0ekTMKNkQjHHAcEXNw==
+ dependencies:
+ "@algolia/client-common" "4.14.2"
+ "@algolia/requester-common" "4.14.2"
+ "@algolia/transporter" "4.14.2"
+
"@algolia/client-recommendation@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/client-recommendation/-/client-recommendation-4.9.1.tgz#217af2a38d37ab12cf23a419cc9a576af9d15b13"
@@ -301,6 +356,15 @@
"@algolia/requester-common" "4.12.1"
"@algolia/transporter" "4.12.1"
+"@algolia/client-search@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.14.2.tgz#357bdb7e640163f0e33bad231dfcc21f67dc2e92"
+ integrity sha512-L5zScdOmcZ6NGiVbLKTvP02UbxZ0njd5Vq9nJAmPFtjffUSOGEp11BmD2oMJ5QvARgx2XbX4KzTTNS5ECYIMWw==
+ dependencies:
+ "@algolia/client-common" "4.14.2"
+ "@algolia/requester-common" "4.14.2"
+ "@algolia/transporter" "4.14.2"
+
"@algolia/client-search@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.9.1.tgz#a2fbc47a1b343dade9a8b06310231d51ff675b1b"
@@ -325,6 +389,11 @@
resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.12.1.tgz#d6501b4d9d242956257ba8e10f6b4bbf6863baa4"
integrity sha512-fCgrzlXGATNqdFTxwx0GsyPXK+Uqrx1SZ3iuY2VGPPqdt1a20clAG2n2OcLHJpvaa6vMFPlJyWvbqAgzxdxBlQ==
+"@algolia/logger-common@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.14.2.tgz#b74b3a92431f92665519d95942c246793ec390ee"
+ integrity sha512-/JGlYvdV++IcMHBnVFsqEisTiOeEr6cUJtpjz8zc0A9c31JrtLm318Njc72p14Pnkw3A/5lHHh+QxpJ6WFTmsA==
+
"@algolia/logger-common@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.9.1.tgz#3323834095f2916338d2535d2df91c4723ac19f2"
@@ -344,6 +413,13 @@
dependencies:
"@algolia/logger-common" "4.12.1"
+"@algolia/logger-console@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.14.2.tgz#ec49cb47408f5811d4792598683923a800abce7b"
+ integrity sha512-8S2PlpdshbkwlLCSAB5f8c91xyc84VM9Ar9EdfE9UmX+NrKNYnWR1maXXVDQQoto07G1Ol/tYFnFVhUZq0xV/g==
+ dependencies:
+ "@algolia/logger-common" "4.14.2"
+
"@algolia/logger-console@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.9.1.tgz#c324ef26843dbed06b44586309331dbb949744ad"
@@ -365,6 +441,13 @@
dependencies:
"@algolia/requester-common" "4.12.1"
+"@algolia/requester-browser-xhr@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.14.2.tgz#a2cd4d9d8d90d53109cc7f3682dc6ebf20f798f2"
+ integrity sha512-CEh//xYz/WfxHFh7pcMjQNWgpl4wFB85lUMRyVwaDPibNzQRVcV33YS+63fShFWc2+42YEipFGH2iPzlpszmDw==
+ dependencies:
+ "@algolia/requester-common" "4.14.2"
+
"@algolia/requester-browser-xhr@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.9.1.tgz#0812f3c7c4105a4646c0fba8429b172b2d0e01c5"
@@ -382,6 +465,11 @@
resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.12.1.tgz#95bb6539da7199da3e205341cea8f27267f7af29"
integrity sha512-XWIrWQNJ1vIrSuL/bUk3ZwNMNxl+aWz6dNboRW6+lGTcMIwc3NBFE90ogbZKhNrFRff8zI4qCF15tjW+Fyhpow==
+"@algolia/requester-common@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.14.2.tgz#bc4e9e5ee16c953c0ecacbfb334a33c30c28b1a1"
+ integrity sha512-73YQsBOKa5fvVV3My7iZHu1sUqmjjfs9TteFWwPwDmnad7T0VTCopttcsM3OjLxZFtBnX61Xxl2T2gmG2O4ehg==
+
"@algolia/requester-common@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.9.1.tgz#50fcf4c7c1ed7ae13159167ac1da2844d036a630"
@@ -401,6 +489,13 @@
dependencies:
"@algolia/requester-common" "4.12.1"
+"@algolia/requester-node-http@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.14.2.tgz#7c1223a1785decaab1def64c83dade6bea45e115"
+ integrity sha512-oDbb02kd1o5GTEld4pETlPZLY0e+gOSWjWMJHWTgDXbv9rm/o2cF7japO6Vj1ENnrqWvLBmW1OzV9g6FUFhFXg==
+ dependencies:
+ "@algolia/requester-common" "4.14.2"
+
"@algolia/requester-node-http@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.9.1.tgz#70054a0aa5643072404fcb68042eec97c7abd1c8"
@@ -426,6 +521,15 @@
"@algolia/logger-common" "4.12.1"
"@algolia/requester-common" "4.12.1"
+"@algolia/transporter@4.14.2":
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.14.2.tgz#77c069047fb1a4359ee6a51f51829508e44a1e3d"
+ integrity sha512-t89dfQb2T9MFQHidjHcfhh6iGMNwvuKUvojAj+JsrHAGbuSy7yE4BylhLX6R0Q1xYRoC4Vvv+O5qIw/LdnQfsQ==
+ dependencies:
+ "@algolia/cache-common" "4.14.2"
+ "@algolia/logger-common" "4.14.2"
+ "@algolia/requester-common" "4.14.2"
+
"@algolia/transporter@4.9.1":
version "4.9.1"
resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.9.1.tgz#63ef3d9ae3b6556fa1ff1e6265bbab482bd084b7"
@@ -435,6 +539,19 @@
"@algolia/logger-common" "4.9.1"
"@algolia/requester-common" "4.9.1"
+"@algolia/ui-components-highlight-vdom@^1.2.1":
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/@algolia/ui-components-highlight-vdom/-/ui-components-highlight-vdom-1.2.1.tgz#c430c9f090ef8c68477ef4b685324ed231ce0c13"
+ integrity sha512-IlYgIaCUEkz9ezNbwugwKv991oOHhveyq6nzL0F1jDzg1p3q5Yj/vO4KpNG910r2dwGCG3nEm5GtChcLnarhFA==
+ dependencies:
+ "@algolia/ui-components-shared" "1.2.1"
+ "@babel/runtime" "^7.0.0"
+
+"@algolia/ui-components-shared@1.2.1", "@algolia/ui-components-shared@^1.2.1":
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/@algolia/ui-components-shared/-/ui-components-shared-1.2.1.tgz#62e3a04fc11623f149312942cd764d4528dd994c"
+ integrity sha512-a7mYHf/GVQfhAx/HRiMveKkFvHspQv/REdG+C/FIOosiSmNZxX7QebDwJkrGSmDWdXO12D0Qv1xn3AytFcEDlQ==
+
"@ampproject/remapping@^2.0.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.0.tgz#72becdf17ee44b2d1ac5651fb12f1952c336fe23"
@@ -1702,6 +1819,13 @@
core-js-pure "^3.20.2"
regenerator-runtime "^0.13.4"
+"@babel/runtime@^7.0.0":
+ version "7.20.0"
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.0.tgz#824a9ef325ffde6f78056059db3168c08785e24a"
+ integrity sha512-NDYdls71fTXoU8TZHfbBWg7DiZfNzClcKui/+kyi6ppD2L1qnWW3VV6CjtaBXSUGGhiTWJ6ereOIkUvenif66Q==
+ dependencies:
+ regenerator-runtime "^0.13.10"
+
"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.8", "@babel/runtime@^7.16.3", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
version "7.16.7"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.7.tgz#03ff99f64106588c9c403c6ecb8c3bafbbdff1fa"
@@ -5088,11 +5212,6 @@
resolved "https://registry.yarnpkg.com/@types/google.maps/-/google.maps-3.47.3.tgz#36ec9cfb421ef8db11ba7337e006143dbd374522"
integrity sha512-BF/BzpO0LWiwR/bBoGVriy7e2n+syuGNQMQ0r/+GtisUcgKn9P7Z4rmLNmZko9niE8JJ5dpMkxHeen7gADlNaw==
-"@types/googlemaps@^3.39.6":
- version "3.43.3"
- resolved "https://registry.yarnpkg.com/@types/googlemaps/-/googlemaps-3.43.3.tgz#70cf962154a160fe78bcd69d6ccc296dd9175b1f"
- integrity sha512-ZWNoz/O8MPEpiajvj7QiqCY8tTLFNqNZ/a+s+zTV58wFVNAvvqV4bdGfnsjTb5Cs4V6wEsLrX8XRhmnyYJ2Tdg==
-
"@types/graceful-fs@^4.1.2":
version "4.1.5"
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"
@@ -6371,7 +6490,14 @@ ajv@^8.0.1:
require-from-string "^2.0.2"
uri-js "^4.2.2"
-algoliasearch-helper@^3.4.3, algoliasearch-helper@^3.4.4, algoliasearch-helper@^3.7.0:
+algoliasearch-helper@^3.11.1:
+ version "3.11.1"
+ resolved "https://registry.yarnpkg.com/algoliasearch-helper/-/algoliasearch-helper-3.11.1.tgz#d83ab7f1a2a374440686ef7a144b3c288b01188a"
+ integrity sha512-mvsPN3eK4E0bZG0/WlWJjeqe/bUD2KOEVOl0GyL/TGXn6wcpZU8NOuztGHCUKXkyg5gq6YzUakVTmnmSSO5Yiw==
+ dependencies:
+ "@algolia/events" "^4.0.1"
+
+algoliasearch-helper@^3.4.3, algoliasearch-helper@^3.7.0:
version "3.7.0"
resolved "https://registry.yarnpkg.com/algoliasearch-helper/-/algoliasearch-helper-3.7.0.tgz#c0a0493df84d850360f664ad7a9d4fc78a94fd78"
integrity sha512-XJ3QfERBLfeVCyTVx80gon7r3/rgm/CE8Ha1H7cbablRe/X7SfYQ14g/eO+MhjVKIQp+gy9oC6G5ilmLwS1k6w==
@@ -6425,6 +6551,26 @@ algoliasearch@4.12.1:
"@algolia/requester-node-http" "4.12.1"
"@algolia/transporter" "4.12.1"
+algoliasearch@4.14.2:
+ version "4.14.2"
+ resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.14.2.tgz#63f142583bfc3a9bd3cd4a1b098bf6fe58e56f6c"
+ integrity sha512-ngbEQonGEmf8dyEh5f+uOIihv4176dgbuOZspiuhmTTBRBuzWu3KCGHre6uHj5YyuC7pNvQGzB6ZNJyZi0z+Sg==
+ dependencies:
+ "@algolia/cache-browser-local-storage" "4.14.2"
+ "@algolia/cache-common" "4.14.2"
+ "@algolia/cache-in-memory" "4.14.2"
+ "@algolia/client-account" "4.14.2"
+ "@algolia/client-analytics" "4.14.2"
+ "@algolia/client-common" "4.14.2"
+ "@algolia/client-personalization" "4.14.2"
+ "@algolia/client-search" "4.14.2"
+ "@algolia/logger-common" "4.14.2"
+ "@algolia/logger-console" "4.14.2"
+ "@algolia/requester-browser-xhr" "4.14.2"
+ "@algolia/requester-common" "4.14.2"
+ "@algolia/requester-node-http" "4.14.2"
+ "@algolia/transporter" "4.14.2"
+
algoliasearch@4.9.1:
version "4.9.1"
resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.9.1.tgz#1fa8ece3f9808e465226176b88b953801c2274e0"
@@ -10716,11 +10862,6 @@ eventemitter3@^4.0.0:
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
-events@^1.1.0:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
- integrity sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=
-
events@^3.0.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
@@ -12680,19 +12821,23 @@ inquirer@^7.0.0, inquirer@^7.1.0:
strip-ansi "^6.0.0"
through "^2.3.6"
-instantsearch.js@4.22.0:
- version "4.22.0"
- resolved "https://registry.yarnpkg.com/instantsearch.js/-/instantsearch.js-4.22.0.tgz#d28c7a2be6b399736f8f2edd6f59d474a0f661a4"
- integrity sha512-IPjg/EwhDqFpvCJC1g3DF+i2cAr3SQZ9JPFhuKWC2apnGNfiFkPIQKvHx1pFTQm7FlZe262Xcpqi1ag1KVPGpA==
+instantsearch.js@4.49.0:
+ version "4.49.0"
+ resolved "https://registry.yarnpkg.com/instantsearch.js/-/instantsearch.js-4.49.0.tgz#14211c1e407a84d9783d98777c649221f4ab4243"
+ integrity sha512-ihnc4CLlO1tQMeQDEQtFl6cWsotVGaOGbiPY6kNd+XsVpSCWngdBFPnnwcIVWG2MfEd9A/ypnpe/eR3fm6EcVA==
dependencies:
- "@types/googlemaps" "^3.39.6"
- algoliasearch-helper "^3.4.4"
- classnames "^2.2.5"
- events "^1.1.0"
+ "@algolia/events" "^4.0.1"
+ "@algolia/ui-components-highlight-vdom" "^1.2.1"
+ "@algolia/ui-components-shared" "^1.2.1"
+ "@types/google.maps" "^3.45.3"
+ "@types/hogan.js" "^3.0.0"
+ "@types/qs" "^6.5.3"
+ algoliasearch-helper "^3.11.1"
hogan.js "^3.0.2"
- preact "^10.0.0"
- prop-types "^15.5.10"
- qs "^6.5.1"
+ htm "^3.0.0"
+ preact "^10.10.0"
+ qs "^6.5.1 < 6.10"
+ search-insights "^2.1.0"
instantsearch.js@^4.37.2:
version "4.38.1"
@@ -17591,6 +17736,11 @@ preact@10.6.4, preact@^10.0.0:
resolved "https://registry.yarnpkg.com/preact/-/preact-10.6.4.tgz#ad12c409ff1b4316158486e0a7b8d43636f7ced8"
integrity sha512-WyosM7pxGcndU8hY0OQlLd54tOU+qmG45QXj2dAYrL11HoyU/EzOSTlpJsirbBr1QW7lICxSsVJJmcmUglovHQ==
+preact@^10.10.0:
+ version "10.11.2"
+ resolved "https://registry.yarnpkg.com/preact/-/preact-10.11.2.tgz#e43f2a2f2985dedb426bb4c765b7bb037734f8a8"
+ integrity sha512-skAwGDFmgxhq1DCBHke/9e12ewkhc7WYwjuhHB8HHS8zkdtITXLRmUMTeol2ldxvLwYtwbFeifZ9uDDWuyL4Iw==
+
preact@^10.6.0:
version "10.6.5"
resolved "https://registry.yarnpkg.com/preact/-/preact-10.6.5.tgz#726d8bd12903a0d51cdd17e2e1b90cc539403e0c"
@@ -17754,7 +17904,7 @@ promzard@^0.3.0:
dependencies:
read "1"
-prop-types@^15.5.10, prop-types@^15.6.2, prop-types@^15.7.2:
+prop-types@^15.6.2, prop-types@^15.7.2:
version "15.8.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
@@ -17902,18 +18052,18 @@ qs@6.9.6:
resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.6.tgz#26ed3c8243a431b2924aca84cc90471f35d5a0ee"
integrity sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==
-qs@^6.5.1, qs@^6.9.4:
+"qs@^6.5.1 < 6.10":
+ version "6.9.7"
+ resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.7.tgz#4610846871485e1e048f44ae3b94033f0e675afe"
+ integrity sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw==
+
+qs@^6.9.4:
version "6.10.3"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e"
integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==
dependencies:
side-channel "^1.0.4"
-"qs@^6.5.1 < 6.10":
- version "6.9.7"
- resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.7.tgz#4610846871485e1e048f44ae3b94033f0e675afe"
- integrity sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw==
-
qs@~6.5.2:
version "6.5.3"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad"
@@ -18516,6 +18666,11 @@ regenerator-runtime@^0.13.1, regenerator-runtime@^0.13.4, regenerator-runtime@^0
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==
+regenerator-runtime@^0.13.10:
+ version "0.13.10"
+ resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee"
+ integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==
+
regenerator-transform@^0.14.2:
version "0.14.5"
resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.5.tgz#c98da154683671c9c4dcb16ece736517e1b7feb4"