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

algoliasearch

Package Overview
Dependencies
Maintainers
3
Versions
389
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

algoliasearch - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

test/spec/common/index/search/inverted-parameters.js

2

bower.json
{
"name": "algoliasearch",
"version": "3.0.6",
"version": "3.0.7",
"homepage": "https://github.com/algolia/algoliasearch-client-js",

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

@@ -6,4 +6,13 @@ var algoliasearch = require('./');

index.search('som').then(function(content) {
console.log(content);
// index.search('som').then(function(content) {
// console.log(content)
// }).catch(function(err) {
// console.log(err)
// });
index.getObjects(["2659900", "2661330"]).then(function() {
console.log(arguments);
}).catch(function(err) {
console.log(err.stack);
});
{
"name": "algoliasearch",
"version": "3.0.6",
"version": "3.0.7",
"description": "AlgoliaSearch API JavaScript client",

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

@@ -37,3 +37,3 @@ # Algolia Search API Client for JavaScript

When not using any module loader, it will export an `alogliasearch` method in the `window` object.
When not using any module loader, it will export an `algoliasearch` method in the `window` object.

@@ -78,6 +78,6 @@ If you are using the V2 of our JavaScript client and want to upgrade, please read [our migration guide](https://github.com/algolia/algoliasearch-client-js/wiki/Migration-guide-from-2.x.x-to-3.x.x).

```sh
npm install alogliasearch --save
npm install algoliasearch --save
```
We are [browserify](http://browserify.org/)able.
We are [browserify](http://browserify.org/)able and [webpack](http://webpack.github.io/) friendly.

@@ -84,0 +84,0 @@ #### Bower

@@ -886,2 +886,10 @@ module.exports = AlgoliaSearch;

search: function(query, args, callback) {
// warn V2 users on how to search
if (typeof query === 'function' && typeof args === 'object' ||
typeof callback === 'object') {
// .search(query, params, cb)
// .search(cb, params)
throw new Error('AlgoliaSearch: index.search usage is index.search(query, params, cb)');
}
if (arguments.length === 0 || typeof query === 'function') {

@@ -888,0 +896,0 @@ // .search(), .search(cb)

@@ -1,1 +0,1 @@

"3.0.6"
"3.0.7"

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