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

react-select-search

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-select-search - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

dist/cjs/useSelect.js

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

setValue(newValue);
onChange(newValue);
onChange(newValue, (0, _getOption.default)(newValue, allOptions));
};

@@ -113,0 +113,0 @@

@@ -15,3 +15,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

import React, { useEffect, forwardRef, useMemo, memo, useRef } from 'react';
import React, { forwardRef, useMemo, memo } from 'react';
import PropTypes from 'prop-types';

@@ -18,0 +18,0 @@ import useSelect from './useSelect';

@@ -93,3 +93,3 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }

setValue(newValue);
onChange(newValue);
onChange(newValue, getOption(newValue, allOptions));
};

@@ -96,0 +96,0 @@

{
"name": "react-select-search",
"version": "1.0.4",
"version": "1.0.5",
"description": "Lightweight select component for React",

@@ -5,0 +5,0 @@ "main": "dist/esm/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