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

pelias-query

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pelias-query - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

7

defaults.json

@@ -31,2 +31,3 @@ {

"focus:decay": 0.5,
"focus:weight": 2,

@@ -82,3 +83,3 @@ "function_score:score_mode": "avg",

"popularity:modifier": "sqrt",
"popularity:max_boost": 2,
"popularity:max_boost": 999999,
"popularity:weight": 1,

@@ -88,4 +89,4 @@

"population:modifier": "sqrt",
"population:max_boost": 2,
"population:weight": 1,
"population:max_boost": 999999,
"population:weight": 2,

@@ -92,0 +93,0 @@ "localregions:weight": 10,

{
"name": "pelias-query",
"version": "4.0.0",
"version": "5.0.0",
"description": "",

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

@@ -16,2 +16,3 @@

!vs.isset('function_score:boost_mode') ||
!vs.isset('focus:weight') ||
!vs.isset('focus:function') ||

@@ -30,3 +31,3 @@ !vs.isset('focus:offset') ||

score_mode: vs.var('function_score:score_mode'),
boost_mode: vs.var('function_score:boost_mode'),
boost_mode: vs.var('function_score:boost_mode')
}

@@ -36,3 +37,3 @@ };

// decay function
var func = {};
var func = { weight: vs.var('focus:weight') };
func[ vs.var('focus:function') ] = {};

@@ -52,2 +53,2 @@ func[ vs.var('focus:function') ][ vs.var('centroid:field') ] = {

};
};
};
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