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.2 to 2.1.3

3

build.js

@@ -38,4 +38,3 @@ 'use strict';

if (!Array.isArray(tokens[_token])) tokens[_token] = [];
if (!tokens[_token].includes(id)) tokens[_token].push(id);
if (!Array.isArray(tokens[_token])) tokens[_token] = [id];else tokens[_token].push(id);
}

@@ -42,0 +41,0 @@ } catch (err) {

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

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

@@ -22,4 +22,4 @@ 'use strict'

for (let token of tokensOfItem) {
if (!Array.isArray(tokens[token])) tokens[token] = []
if (!tokens[token].includes(id)) tokens[token].push(id)
if (!Array.isArray(tokens[token])) tokens[token] = [id]
else tokens[token].push(id)
}

@@ -26,0 +26,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