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

react-dropdown-now

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropdown-now - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

12

dist/Dropdown.js

@@ -123,2 +123,14 @@ "use strict";

var updateValue = (0, _react.useCallback)(function (val) {
var newValue = (0, _helpers.findSelected)(options, val, matcher);
if (newValue) {
fireChangeEvent(newValue);
setSelected(newValue);
}
}, [options, matcher]);
(0, _react.useEffect)(function () {
return updateValue(value);
}, [value]);
var isValueSelected = function isValueSelected() {

@@ -125,0 +137,0 @@ return !!selected;

2

package.json
{
"name": "react-dropdown-now",
"version": "3.0.1",
"version": "3.1.0",
"description": "React dropdown component NOW",

@@ -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