Socket
Socket
Sign inDemoInstall

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.5 to 1.3.6

6

dist/index.js

@@ -110,2 +110,3 @@ "use strict";

var btnPlaceHolder = placeholder && placeholder !== null ? placeholder : 'No option selected';
var prevOptions = (0, _react.useRef)();
var initialState = {

@@ -136,3 +137,6 @@ value: _toConsumableArray(options.filter(function (e) {

(0, _react.useEffect)(function () {
setOptionsList(options);
if (JSON.stringify(prevOptions.current) !== JSON.stringify(options)) {
prevOptions.current = options;
setOptionsList(options);
}
}, [options]);

@@ -139,0 +143,0 @@ (0, _react.useEffect)(function () {

@@ -0,1 +1,5 @@

# v1.3.6
- Bug fixes: Update options state only if options are not same as previous.
# v1.3.5

@@ -2,0 +6,0 @@

2

package.json
{
"name": "react-bootstrap-select-dropdown",
"version": "1.3.5",
"version": "1.3.6",
"description": "",

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

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