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

algoliasearch

Package Overview
Dependencies
Maintainers
3
Versions
385
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.2 to 3.0.3

node-test.js

2

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

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

// default entrypoint is the node module
// this is overriden by the `browser` field in package.json
// https://github.com/substack/node-browserify#browser-field
module.exports = require('src/node');
module.exports = require('./src/server/builds/node');
{
"name": "algoliasearch",
"version": "3.0.2",
"version": "3.0.3",
"description": "AlgoliaSearch API JavaScript client",
"main": "index.js",
"browser": "src/browser.js",
"browser": "src/browser/builds/algoliasearch.js",
"scripts": {

@@ -46,2 +46,3 @@ "build": "PACKAGE_VERSION=$(json -f package.json version) sh build.sh",

"es6-promise": "2.0.1",
"load-script": "1.0.0",
"packageify": "0.2.2"

@@ -60,2 +61,3 @@ },

"domready": "0.3.0",
"envify": "3.4.0",
"eslint": "0.15.0",

@@ -62,0 +64,0 @@ "express": "4.12.1",

# Algolia Search API Client for JavaScript
**We recently (March 2015) released a new version (V3) of our JavaScript client,
if you were using our previous version (V2), [read the migration guide](https://github.com/algolia/algoliasearch-client-js/wiki/Migration-guide-from-2.x.x-to-3.x.x)**
[Algolia Search](http://www.algolia.com) is a hosted full-text, numerical, and faceted search engine capable of delivering realtime results from the first keystroke.

@@ -6,0 +9,0 @@

@@ -8,3 +8,3 @@ // this file is a `factory of algoliasearch()`

function algoliasearch(applicationID, apiKey, opts) {
var AlgoliaSearch = require('./algoliasearch');
var AlgoliaSearch = require('./AlgoliaSearch');

@@ -11,0 +11,0 @@ return new AlgoliaSearch(applicationID, apiKey, opts, request);

@@ -15,3 +15,3 @@ var test = require('tape');

// load AngularJS Algolia Search module
require('../../src/algoliasearch.angular');
require('../../src/browser/builds/algoliasearch.angular');

@@ -108,3 +108,3 @@ global.angular

// load AngularJS Algolia Search module
require('../../src/algoliasearch.angular');
require('../../src/browser/builds/algoliasearch.angular');

@@ -160,3 +160,3 @@ global.angular

// load AngularJS Algolia Search module
require('../../src/algoliasearch.angular');
require('../../src/browser/builds/algoliasearch.angular');

@@ -221,3 +221,3 @@ global.angular

// load AngularJS Algolia Search module
require('../../src/algoliasearch.angular');
require('../../src/browser/builds/algoliasearch.angular');

@@ -224,0 +224,0 @@ global.angular

@@ -18,3 +18,3 @@ var test = require('tape');

// load jQuery Algolia Search module
require('../../src/algoliasearch.jquery');
require('../../src/browser/builds/algoliasearch.jquery');

@@ -102,3 +102,3 @@ t.ok(global.$.algolia, 'we exported an `algolia` property on jQuery');

// load jQuery Algolia Search module
require('../../src/algoliasearch.jquery');
require('../../src/browser/builds/algoliasearch.jquery');

@@ -171,3 +171,3 @@ var client = global.$.algolia.Client('jquery-error-applicationID', 'jquery-error-apiKey');

// load jQuery Algolia Search module
require('../../src/algoliasearch.jquery');
require('../../src/browser/builds/algoliasearch.jquery');

@@ -231,3 +231,3 @@ var client = global.$.algolia.Client(

// load jQuery Algolia Search module
require('../../src/algoliasearch.jquery');
require('../../src/browser/builds/algoliasearch.jquery');

@@ -234,0 +234,0 @@ var client = global.$.algolia.Client(

@@ -9,6 +9,10 @@ // This file ensures that previous V2 globals are throwing accordingly

var message = 'You are trying to use a new version of the AlgoliaSearch JavaScript client with an old notation.' +
'\nPlease read our migration guide at https://github.com/algolia/algoliasearch-client-js/wiki/Migration-guide-from-2.x.x-to-3.x.x';
var message =
'-- AlgoliaSearch V2 => V3 error --\n' +
'You are trying to use a new version of the AlgoliaSearch JavaScript client with an old notation.\n' +
'Please read our migration guide at https://github.com/algolia/algoliasearch-client-js/wiki/Migration-guide-from-2.x.x-to-3.x.x\n' +
'-- /AlgoliaSearch V2 => V3 error --';
test('new AlgoliaSearch() throws', function(t) {
// Cannot test the migration layer easily right now
test.skip('new AlgoliaSearch() throws', function(t) {
t.plan(3);

@@ -40,3 +44,3 @@

test('new AlgoliaSearchHelper() throws', function(t) {
test.skip('new AlgoliaSearchHelper() throws', function(t) {
t.plan(3);

@@ -68,3 +72,3 @@

test('AlgoliaExplainResults() throws', function(t) {
test.skip('AlgoliaExplainResults() throws', function(t) {
t.plan(3);

@@ -71,0 +75,0 @@

Sorry, the diff of this file is not supported yet

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