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

multiselect-combo-box

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiselect-combo-box - npm Package Compare versions

Comparing version 2.4.0-alpha.1 to 2.4.0-alpha.2

2

package.json

@@ -15,3 +15,3 @@ {

"name": "multiselect-combo-box",
"version": "2.4.0-alpha.1",
"version": "2.4.0-alpha.2",
"main": "multiselect-combo-box.js",

@@ -18,0 +18,0 @@ "directories": {

@@ -327,7 +327,8 @@ import {PolymerElement} from '@polymer/polymer/polymer-element.js';

const item = selectedItem || this.$.comboBox.selectedItem;
if (!item) {
return;
}
const update = this.selectedItems.slice(0);
const index = this._findIndex(item, this.selectedItems, this.itemIdPath);
if (index !== -1) {

@@ -378,3 +379,3 @@ update.splice(index, 1);

for (let index = 0; index < selectedItems.length; index++) {
if (selectedItems[index][itemIdPath] === item[itemIdPath]) {
if (selectedItems[index] && selectedItems[index][itemIdPath] === item[itemIdPath]) {
return index;

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