@algolia/client-search
Advanced tools
Comparing version 4.5.1 to 4.6.0
@@ -487,7 +487,5 @@ 'use strict'; | ||
return Object.keys(updatedFields) | ||
.filter(updatedField => apiKeyFields.indexOf(updatedField) !== -1) | ||
.filter((updatedField) => apiKeyFields.indexOf(updatedField) !== -1) | ||
.every(updatedField => { | ||
return ( | ||
// @ts-ignore | ||
getApiKeyResponse[updatedField] === updatedFields[updatedField]); | ||
return getApiKeyResponse[updatedField] === updatedFields[updatedField]; | ||
}); | ||
@@ -551,3 +549,2 @@ }; | ||
hits: response.hits.map(rule => { | ||
// @ts-ignore | ||
// eslint-disable-next-line functional/immutable-data,no-param-reassign | ||
@@ -578,3 +575,2 @@ delete rule._highlightResult; | ||
hits: response.hits.map(synonym => { | ||
// @ts-ignore | ||
// eslint-disable-next-line functional/immutable-data,no-param-reassign | ||
@@ -581,0 +577,0 @@ delete synonym._highlightResult; |
@@ -483,7 +483,5 @@ import { createAuth, AuthMode, shuffle, addMethods, createWaitablePromise, createRetryablePromise, encode } from '@algolia/client-common'; | ||
return Object.keys(updatedFields) | ||
.filter(updatedField => apiKeyFields.indexOf(updatedField) !== -1) | ||
.filter((updatedField) => apiKeyFields.indexOf(updatedField) !== -1) | ||
.every(updatedField => { | ||
return ( | ||
// @ts-ignore | ||
getApiKeyResponse[updatedField] === updatedFields[updatedField]); | ||
return getApiKeyResponse[updatedField] === updatedFields[updatedField]; | ||
}); | ||
@@ -547,3 +545,2 @@ }; | ||
hits: response.hits.map(rule => { | ||
// @ts-ignore | ||
// eslint-disable-next-line functional/immutable-data,no-param-reassign | ||
@@ -574,3 +571,2 @@ delete rule._highlightResult; | ||
hits: response.hits.map(synonym => { | ||
// @ts-ignore | ||
// eslint-disable-next-line functional/immutable-data,no-param-reassign | ||
@@ -577,0 +573,0 @@ delete synonym._highlightResult; |
{ | ||
"name": "@algolia/client-search", | ||
"version": "4.5.1", | ||
"version": "4.6.0", | ||
"private": false, | ||
@@ -19,6 +19,6 @@ "repository": { | ||
"dependencies": { | ||
"@algolia/client-common": "4.5.1", | ||
"@algolia/requester-common": "4.5.1", | ||
"@algolia/transporter": "4.5.1" | ||
"@algolia/client-common": "4.6.0", | ||
"@algolia/requester-common": "4.6.0", | ||
"@algolia/transporter": "4.6.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
161974
4214
+ Added@algolia/cache-common@4.6.0(transitive)
+ Added@algolia/client-common@4.6.0(transitive)
+ Added@algolia/logger-common@4.6.0(transitive)
+ Added@algolia/requester-common@4.6.0(transitive)
+ Added@algolia/transporter@4.6.0(transitive)
- Removed@algolia/cache-common@4.5.1(transitive)
- Removed@algolia/client-common@4.5.1(transitive)
- Removed@algolia/logger-common@4.5.1(transitive)
- Removed@algolia/requester-common@4.5.1(transitive)
- Removed@algolia/transporter@4.5.1(transitive)
Updated@algolia/client-common@4.6.0
Updated@algolia/transporter@4.6.0