instantsearch.js 4.74.0 → 4.74.1
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/README.md +1 -2
- package/cjs/helpers/highlight.js +1 -1
- package/cjs/helpers/reverseHighlight.js +1 -1
- package/cjs/helpers/reverseSnippet.js +1 -1
- package/cjs/helpers/snippet.js +1 -1
- package/cjs/lib/utils/hydrateSearchClient.js +1 -1
- package/cjs/lib/version.js +1 -1
- package/dist/instantsearch.development.js +12 -9
- package/dist/instantsearch.development.js.map +1 -1
- package/dist/instantsearch.production.min.js +2 -2
- package/dist/instantsearch.production.min.js.map +1 -1
- package/es/helpers/highlight.js +1 -1
- package/es/helpers/reverseHighlight.js +1 -1
- package/es/helpers/reverseSnippet.js +1 -1
- package/es/helpers/snippet.js +1 -1
- package/es/lib/utils/hydrateSearchClient.js +1 -1
- package/es/lib/version.d.ts +1 -1
- package/es/lib/version.js +1 -1
- package/package.json +7 -7
package/es/helpers/highlight.js
CHANGED
|
@@ -21,7 +21,7 @@ export default function highlight(_ref) {
|
|
|
21
21
|
_ref2$value = _ref2.value,
|
|
22
22
|
attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
|
|
23
23
|
|
|
24
|
-
// cx is not used, since it would be bundled as a dependency for Vue
|
|
24
|
+
// cx is not used, since it would be bundled as a dependency for Vue
|
|
25
25
|
var className = suit({
|
|
26
26
|
descendantName: 'highlighted'
|
|
27
27
|
}) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
|
|
@@ -21,7 +21,7 @@ export default function reverseHighlight(_ref) {
|
|
|
21
21
|
_ref2$value = _ref2.value,
|
|
22
22
|
attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
|
|
23
23
|
|
|
24
|
-
// cx is not used, since it would be bundled as a dependency for Vue
|
|
24
|
+
// cx is not used, since it would be bundled as a dependency for Vue
|
|
25
25
|
var className = suit({
|
|
26
26
|
descendantName: 'highlighted'
|
|
27
27
|
}) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
|
|
@@ -21,7 +21,7 @@ export default function reverseSnippet(_ref) {
|
|
|
21
21
|
_ref2$value = _ref2.value,
|
|
22
22
|
attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
|
|
23
23
|
|
|
24
|
-
// cx is not used, since it would be bundled as a dependency for Vue
|
|
24
|
+
// cx is not used, since it would be bundled as a dependency for Vue
|
|
25
25
|
var className = suit({
|
|
26
26
|
descendantName: 'highlighted'
|
|
27
27
|
}) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
|
package/es/helpers/snippet.js
CHANGED
|
@@ -21,7 +21,7 @@ export default function snippet(_ref) {
|
|
|
21
21
|
_ref2$value = _ref2.value,
|
|
22
22
|
attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
|
|
23
23
|
|
|
24
|
-
// cx is not used, since it would be bundled as a dependency for Vue
|
|
24
|
+
// cx is not used, since it would be bundled as a dependency for Vue
|
|
25
25
|
var className = suit({
|
|
26
26
|
descendantName: 'highlighted'
|
|
27
27
|
}) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
|
|
@@ -53,7 +53,7 @@ export function hydrateSearchClient(client, results) {
|
|
|
53
53
|
// search on it first.
|
|
54
54
|
if ('transporter' in client && !client._cacheHydrated) {
|
|
55
55
|
client._cacheHydrated = true;
|
|
56
|
-
var baseMethod = client.search;
|
|
56
|
+
var baseMethod = client.search.bind(client);
|
|
57
57
|
// @ts-ignore wanting type checks for v3 on this would make this too complex
|
|
58
58
|
client.search = function (requests) {
|
|
59
59
|
for (var _len = arguments.length, methodArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
package/es/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.74.
|
|
1
|
+
declare const _default: "4.74.1";
|
|
2
2
|
export default _default;
|
package/es/lib/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '4.74.
|
|
1
|
+
export default '4.74.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instantsearch.js",
|
|
3
|
-
"version": "4.74.
|
|
3
|
+
"version": "4.74.1",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@types/google.maps": "^3.55.12",
|
|
32
32
|
"@types/hogan.js": "^3.0.0",
|
|
33
33
|
"@types/qs": "^6.5.3",
|
|
34
|
-
"algoliasearch-helper": "3.22.
|
|
34
|
+
"algoliasearch-helper": "3.22.5",
|
|
35
35
|
"hogan.js": "^3.0.2",
|
|
36
36
|
"htm": "^3.0.0",
|
|
37
37
|
"instantsearch-ui-components": "0.9.0",
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
"watch:es": "yarn --silent build:es:base --watch"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@instantsearch/mocks": "1.
|
|
60
|
-
"@instantsearch/tests": "1.
|
|
61
|
-
"@instantsearch/testutils": "1.
|
|
59
|
+
"@instantsearch/mocks": "1.56.0",
|
|
60
|
+
"@instantsearch/tests": "1.56.0",
|
|
61
|
+
"@instantsearch/testutils": "1.45.0",
|
|
62
62
|
"@storybook/html": "5.3.9",
|
|
63
63
|
"@types/scriptjs": "0.0.2",
|
|
64
|
-
"algoliasearch": "
|
|
64
|
+
"algoliasearch": "5.1.1",
|
|
65
65
|
"places.js": "1.17.1",
|
|
66
66
|
"scriptjs": "2.5.9",
|
|
67
67
|
"webpack": "4.47.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "56304606586fef7c8d1ae21157752fbec52cc55e"
|
|
70
70
|
}
|