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

@algolia/client-search

Package Overview
Dependencies
Maintainers
61
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.7.0 to 4.8.0

6

dist/client-search.cjs.js

@@ -962,3 +962,3 @@ 'use strict';

...requestOptions,
replaceExistingSynonyms: true,
clearExistingSynonyms: true,
});

@@ -1029,3 +1029,3 @@ };

return (synonyms, requestOptions) => {
const { forwardToReplicas, replaceExistingSynonyms, ...options } = requestOptions || {};
const { forwardToReplicas, clearExistingSynonyms, replaceExistingSynonyms, ...options } = requestOptions || {};
const mappedRequestOptions = transporter.createMappedRequestOptions(options);

@@ -1035,3 +1035,3 @@ if (forwardToReplicas) {

}
if (replaceExistingSynonyms) {
if (replaceExistingSynonyms || clearExistingSynonyms) {
mappedRequestOptions.queryParameters.replaceExistingSynonyms = 1; // eslint-disable-line functional/immutable-data

@@ -1038,0 +1038,0 @@ }

@@ -958,3 +958,3 @@ import { createAuth, AuthMode, shuffle, addMethods, createWaitablePromise, createRetryablePromise, encode } from '@algolia/client-common';

...requestOptions,
replaceExistingSynonyms: true,
clearExistingSynonyms: true,
});

@@ -1025,3 +1025,3 @@ };

return (synonyms, requestOptions) => {
const { forwardToReplicas, replaceExistingSynonyms, ...options } = requestOptions || {};
const { forwardToReplicas, clearExistingSynonyms, replaceExistingSynonyms, ...options } = requestOptions || {};
const mappedRequestOptions = createMappedRequestOptions(options);

@@ -1031,3 +1031,3 @@ if (forwardToReplicas) {

}
if (replaceExistingSynonyms) {
if (replaceExistingSynonyms || clearExistingSynonyms) {
mappedRequestOptions.queryParameters.replaceExistingSynonyms = 1; // eslint-disable-line functional/immutable-data

@@ -1034,0 +1034,0 @@ }

{
"name": "@algolia/client-search",
"version": "4.7.0",
"version": "4.8.0",
"private": false,

@@ -19,6 +19,6 @@ "repository": {

"dependencies": {
"@algolia/client-common": "4.7.0",
"@algolia/requester-common": "4.7.0",
"@algolia/transporter": "4.7.0"
"@algolia/client-common": "4.8.0",
"@algolia/requester-common": "4.8.0",
"@algolia/transporter": "4.8.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