instantsearch.js 4.73.2 → 4.73.3

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.
@@ -239,6 +239,11 @@ var BrowserHistory = /*#__PURE__*/function () {
239
239
  var _this5 = this;
240
240
  return safelyRunOnBrowser(function (_ref6) {
241
241
  var window = _ref6.window;
242
+ // When disposed and the cleanUrlOnDispose is set to false, we do not want to write the URL.
243
+ if (_this5.isDisposed && !_this5._cleanUrlOnDispose) {
244
+ return false;
245
+ }
246
+
242
247
  // We do want to `pushState` if:
243
248
  // - the router is not disposed, IS.js needs to update the URL
244
249
  // OR
@@ -1,2 +1,2 @@
1
- declare const _default: "4.73.2";
1
+ declare const _default: "4.73.3";
2
2
  export default _default;
package/es/lib/version.js CHANGED
@@ -1 +1 @@
1
- export default '4.73.2';
1
+ export default '4.73.3';
@@ -69,7 +69,7 @@ type InitialResult = {
69
69
  state?: PlainSearchParameters;
70
70
  results?: SearchResults['_rawResults'];
71
71
  recommendResults?: {
72
- params: RecommendParametersOptions['params'];
72
+ params: NonNullable<RecommendParametersOptions['params']>;
73
73
  results: RecommendResults['_rawResults'];
74
74
  };
75
75
  requestParams?: SearchOptions[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instantsearch.js",
3
- "version": "4.73.2",
3
+ "version": "4.73.3",
4
4
  "description": "InstantSearch.js is a JavaScript library for building performant and instant search experiences with Algolia.",
5
5
  "homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/",
6
6
  "types": "es/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "algoliasearch-helper": "3.22.3",
35
35
  "hogan.js": "^3.0.2",
36
36
  "htm": "^3.0.0",
37
- "instantsearch-ui-components": "0.7.0",
37
+ "instantsearch-ui-components": "0.8.0",
38
38
  "preact": "^10.10.0",
39
39
  "qs": "^6.5.1 < 6.10",
40
40
  "search-insights": "^2.15.0"
@@ -56,9 +56,9 @@
56
56
  "watch:es": "yarn --silent build:es:base --watch"
57
57
  },
58
58
  "devDependencies": {
59
- "@instantsearch/mocks": "1.52.0",
60
- "@instantsearch/tests": "1.52.0",
61
- "@instantsearch/testutils": "1.41.0",
59
+ "@instantsearch/mocks": "1.53.0",
60
+ "@instantsearch/tests": "1.53.0",
61
+ "@instantsearch/testutils": "1.42.0",
62
62
  "@storybook/html": "5.3.9",
63
63
  "@types/scriptjs": "0.0.2",
64
64
  "algoliasearch": "4.23.2",
@@ -66,5 +66,5 @@
66
66
  "scriptjs": "2.5.9",
67
67
  "webpack": "4.47.0"
68
68
  },
69
- "gitHead": "48b1c946e13e917bc76a046894bbd89a7c4977fe"
69
+ "gitHead": "86b33c675f38136d4ef3479891edc21338614b40"
70
70
  }