react-instantsearch 7.15.2 → 7.15.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.
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
var React__default = 'default' in React ? React['default'] : React;
|
|
9
9
|
|
|
10
|
-
var version = '7.15.
|
|
10
|
+
var version = '7.15.3';
|
|
11
11
|
|
|
12
12
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
13
13
|
//
|
|
@@ -4623,7 +4623,7 @@
|
|
|
4623
4623
|
|
|
4624
4624
|
var sortAndMergeRecommendations_1 = sortAndMergeRecommendations;
|
|
4625
4625
|
|
|
4626
|
-
var version$1 = '3.24.
|
|
4626
|
+
var version$1 = '3.24.1';
|
|
4627
4627
|
|
|
4628
4628
|
var escapeFacetValue$3 = escapeFacetValue_1.escapeFacetValue;
|
|
4629
4629
|
|
|
@@ -6466,8 +6466,11 @@
|
|
|
6466
6466
|
if (this._currentNbQueries === 0) this.emit('searchQueueEmpty');
|
|
6467
6467
|
|
|
6468
6468
|
var results = content.results.slice();
|
|
6469
|
-
var rawContent = Object.
|
|
6470
|
-
|
|
6469
|
+
var rawContent = Object.keys(content).reduce(function (value, key) {
|
|
6470
|
+
if (key !== 'results') value[key] = content[key];
|
|
6471
|
+
return value;
|
|
6472
|
+
}, {});
|
|
6473
|
+
|
|
6471
6474
|
if (Object.keys(rawContent).length <= 0) {
|
|
6472
6475
|
rawContent = undefined;
|
|
6473
6476
|
}
|
|
@@ -6491,12 +6494,11 @@
|
|
|
6491
6494
|
specificResults,
|
|
6492
6495
|
self._searchResultsOptions
|
|
6493
6496
|
);
|
|
6494
|
-
helper.lastResults._rawContent = rawContent;
|
|
6497
|
+
if (rawContent !== undefined) helper.lastResults._rawContent = rawContent;
|
|
6495
6498
|
|
|
6496
6499
|
helper.emit('result', {
|
|
6497
6500
|
results: helper.lastResults,
|
|
6498
6501
|
state: state,
|
|
6499
|
-
_rawContent: rawContent,
|
|
6500
6502
|
});
|
|
6501
6503
|
});
|
|
6502
6504
|
};
|
|
@@ -13415,7 +13417,7 @@
|
|
|
13415
13417
|
};
|
|
13416
13418
|
}
|
|
13417
13419
|
|
|
13418
|
-
var version$3 = '4.77.
|
|
13420
|
+
var version$3 = '4.77.3';
|
|
13419
13421
|
|
|
13420
13422
|
function _typeof$q(o) {
|
|
13421
13423
|
"@babel/helpers - typeof";
|