Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@algolia/client-search

Package Overview
Dependencies
Maintainers
60
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/client-search - npm Package Compare versions

Comparing version 4.5.1 to 4.6.0

8

dist/client-search.cjs.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc