New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

algoliasearch-helper

Package Overview
Dependencies
Maintainers
7
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

algoliasearch-helper - npm Package Compare versions

Comparing version 2.9.1 to 2.10.0

2

bower.json
{
"name": "algoliasearch-helper",
"version": "2.9.1",
"version": "2.10.0",
"homepage": "https://github.com/algolia/algoliasearch-helper-js",

@@ -5,0 +5,0 @@ "authors": [

{
"name": "algoliasearch-helper",
"version": "2.9.1",
"version": "2.10.0",
"description": "Helper for implementing advanced search features with algolia",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,2 +12,3 @@ 'use strict';

var indexOf = require('lodash/array/indexOf');
var isNaN = require('lodash/lang/isNaN');
var isArray = require('lodash/lang/isArray');

@@ -24,3 +25,2 @@ var isEmpty = require('lodash/lang/isEmpty');

var merge = require('lodash/object/merge');
var deepFreeze = require('../functions/deepFreeze');
var warnOnce = require('../functions/warnOnce');

@@ -57,3 +57,3 @@ var valToNumber = require('../functions/valToNumber');

/**
* SearchParameters is the data structure that contains all the informations
* SearchParameters is the data structure that contains all the information
* usable for making a search to Algolia API. It doesn't do the search itself,

@@ -67,3 +67,3 @@ * nor does it contains logic about the parameters.

* get it from events generated by the {@link AlgoliaSearchHelper}.
* If need be, instanciate the Helper from the factory function {@link SearchParameters.make}
* If need be, instantiate the Helper from the factory function {@link SearchParameters.make}
* @constructor

@@ -402,3 +402,3 @@ * @classdesc contains all the parameters of a search

/**
* Allows to specific some attributes name on which exact won't be applied.
* Allows to specify some attributes name on which exact won't be applied.
* Attributes are separated with a comma (for example "name,address" ), you can also use a

@@ -469,3 +469,6 @@ * JSON string array encoding (for example encodeURIComponent('["name","address"]') ).

var value = partialState[k];
if (isString(value)) numbers[k] = parseFloat(partialState[k]);
if (isString(value)) {
var parsedValue = parseFloat(value);
numbers[k] = isNaN(parsedValue) ? value : parsedValue;
}
});

@@ -525,3 +528,3 @@

return deepFreeze(instance);
return instance;
};

@@ -1438,3 +1441,3 @@

fn(newState, this);
return deepFreeze(newState);
return newState;
},

@@ -1441,0 +1444,0 @@

'use strict';
module.exports = '2.9.1';
module.exports = '2.10.0';

Sorry, the diff of this file is not supported yet

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