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

backbone-db-elasticsearch

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone-db-elasticsearch - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

6

index.js

@@ -21,2 +21,5 @@ var _ = require('lodash');

var res = [];
var noScores = _.every(hits, function(hit) {
return !hit._score;
});
_.each(hits, function(hit, idx) {

@@ -32,3 +35,4 @@ debug('convert', hit);

// (score is missing e.g. when sorting)
doc.score = hit._score || hits.length - idx;
doc.score = hit._score;
if (noScores) doc.score = hits.length - idx;
res.push(doc);

@@ -35,0 +39,0 @@ });

2

package.json
{
"name": "backbone-db-elasticsearch",
"version": "0.1.8",
"version": "0.1.9",
"description": "Elasticsearch driver for backbone-db",

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

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