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

react-bootstrap-select-dropdown

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

react-bootstrap-select-dropdown - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

8

dist/index.js

@@ -210,10 +210,10 @@ "use strict";

if (index === idx) {
if (selectedValue.indexOf(option.value) === -1) {
if (selectedKey.indexOf(option.labelKey) === -1) {
selectedOptions.currentValue !== undefined ? selectedOptions.currentValue.push(option.value) : selectedOptions.currentValue = [option.value];
selectedOptions.currentKey !== undefined ? selectedOptions.currentKey.push(option.value) : selectedOptions.currentKey = [option.value];
selectedOptions.currentKey !== undefined ? selectedOptions.currentKey.push(option.labelKey) : selectedOptions.currentKey = [option.labelKey];
}
} else {
if (selectedValue.indexOf(option.value) !== -1) {
if (selectedKey.indexOf(option.labelKey) !== -1) {
selectedOptions.currentValue !== undefined ? selectedOptions.currentValue.push(option.value) : selectedOptions.currentValue = [option.value];
selectedOptions.currentKey !== undefined ? selectedOptions.currentKey.push(option.value) : selectedOptions.currentKey = [option.value];
selectedOptions.currentKey !== undefined ? selectedOptions.currentKey.push(option.labelKey) : selectedOptions.currentKey = [option.labelKey];
}

@@ -220,0 +220,0 @@ }

{
"name": "react-bootstrap-select-dropdown",
"version": "1.3.1",
"version": "1.3.2",
"description": "",

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

Sorry, the diff of this file is not supported yet

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