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

synchronous-autocomplete

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

synchronous-autocomplete - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

5

index.js

@@ -41,5 +41,4 @@ 'use strict';

var _id = _ids[_i];
if (!results[_id] || !results[_id] > _relevance) {
results[_id] = _relevance;
}
if (!results[_id]) results[_id] = 0;
results[_id] += _relevance;
}

@@ -46,0 +45,0 @@ }

2

package.json
{
"name": "synchronous-autocomplete",
"description": "Fast, simple autocompletion.",
"version": "2.1.3",
"version": "2.1.4",
"main": "index.js",

@@ -6,0 +6,0 @@ "files": [

@@ -41,5 +41,4 @@ 'use strict'

const id = ids[i]
if (!results[id] || !results[id] > relevance) {
results[id] = relevance
}
if (!results[id]) results[id] = 0
results[id] += relevance
}

@@ -46,0 +45,0 @@ }

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