instantsearch.js 4.34.0 → 4.35.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # [4.35.0](https://github.com/algolia/instantsearch.js/compare/v4.34.0...v4.35.0) (2021-12-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * **events:** move to @algolia/events ([#4961](https://github.com/algolia/instantsearch.js/issues/4961)) ([1c56726](https://github.com/algolia/instantsearch.js/commit/1c5672640c65d7ed6f6e381a3162e508bdda44f3))
7
+
8
+ ### Bug Fixes
9
+
10
+ * **deps:** Add missing peer dependency ([#4950](https://github.com/algolia/instantsearch.js/issues/4950)) ([468578da9](https://github.com/algolia/instantsearch.js/commit/468578da948a12224c892fd12cba4c880aa7b25f))
11
+
12
+
13
+
1
14
  # [4.34.0](https://github.com/algolia/instantsearch.js/compare/v4.33.2...v4.34.0) (2021-12-07)
2
15
 
3
16
 
@@ -9,7 +9,7 @@ exports.default = void 0;
9
9
 
10
10
  var _algoliasearchHelper = _interopRequireDefault(require("algoliasearch-helper"));
11
11
 
12
- var _events = _interopRequireDefault(require("events"));
12
+ var _events = _interopRequireDefault(require("@algolia/events"));
13
13
 
14
14
  var _index = _interopRequireWildcard(require("../widgets/index/index"));
15
15
 
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = '4.34.0';
7
+ var _default = '4.35.0';
8
8
  exports.default = _default;
@@ -1,10 +1,9 @@
1
1
  /// <reference types="google.maps" />
2
- /// <reference types="node" />
3
2
 
4
3
  import type algoliasearch from 'algoliasearch/lite';
5
4
  import type { AlgoliaSearchHelper } from 'algoliasearch-helper';
6
5
  import type * as ClientSearch from '@algolia/client-search';
7
- import EventEmitter from 'events';
6
+ import EventEmitter from '@algolia/events';
8
7
  import type { InsightsClient as InsightsClient_2 } from 'search-insights';
9
8
  import type { InsightsMethodMap } from 'search-insights';
10
9
  import type * as Places from 'places.js';
@@ -1,4 +1,4 @@
1
- /*! InstantSearch.js 4.34.0 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch.js */
1
+ /*! InstantSearch.js 4.35.0 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch.js */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -3475,7 +3475,7 @@
3475
3475
  var events = EventEmitter;
3476
3476
 
3477
3477
  // Backwards-compat with node 0.10.x
3478
- EventEmitter.EventEmitter = EventEmitter;
3478
+ // EventEmitter.EventEmitter = EventEmitter;
3479
3479
 
3480
3480
  EventEmitter.prototype._events = undefined;
3481
3481
  EventEmitter.prototype._maxListeners = undefined;
@@ -3779,7 +3779,7 @@
3779
3779
  this.lastResults = null;
3780
3780
  }
3781
3781
 
3782
- inherits_1(DerivedHelper, events.EventEmitter);
3782
+ inherits_1(DerivedHelper, events);
3783
3783
 
3784
3784
  /**
3785
3785
  * Detach this helper from the main helper
@@ -4115,7 +4115,7 @@
4115
4115
 
4116
4116
  var requestBuilder_1 = requestBuilder;
4117
4117
 
4118
- var version = '3.6.2';
4118
+ var version = '3.7.0';
4119
4119
 
4120
4120
  /**
4121
4121
  * Event triggered when a parameter is set or updated
@@ -4236,7 +4236,7 @@
4236
4236
  this._currentNbQueries = 0;
4237
4237
  }
4238
4238
 
4239
- inherits_1(AlgoliaSearchHelper, events.EventEmitter);
4239
+ inherits_1(AlgoliaSearchHelper, events);
4240
4240
 
4241
4241
  /**
4242
4242
  * Start the search with the parameters set in the state. When the
@@ -8483,7 +8483,7 @@
8483
8483
  instantSearchInstance.renderState = _objectSpread2(_objectSpread2({}, instantSearchInstance.renderState), {}, _defineProperty({}, parentIndexName, _objectSpread2(_objectSpread2({}, instantSearchInstance.renderState[parentIndexName]), renderState)));
8484
8484
  }
8485
8485
 
8486
- var version$1 = '4.34.0';
8486
+ var version$1 = '4.35.0';
8487
8487
 
8488
8488
  var NAMESPACE = 'ais';
8489
8489
  var component = function component(componentName) {