Socket
Socket
Sign inDemoInstall

react-search-autocomplete

Package Overview
Dependencies
83
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.1.0 to 8.1.1

4

dist/components/ReactSearchAutocomplete.js

@@ -149,7 +149,7 @@ "use strict";

setHighlightedItem(index);
onHover(results[index]);
(results === null || results === void 0 ? void 0 : results[index]) && onHover(results[index]);
};
if (index !== undefined) {
setHighlightedItem(index);
onHover(results[index]);
(results === null || results === void 0 ? void 0 : results[index]) && onHover(results[index]);
}

@@ -156,0 +156,0 @@ else if (event) {

/// <reference types="react" />
export declare type Item<T> = T & {
export type Item<T> = T & {
[key: string]: any;

@@ -4,0 +4,0 @@ };

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "8.1.0",
"version": "8.1.1",
"description": "A search box for React",

@@ -77,3 +77,4 @@ "main": "dist/index.js",

"react-dom": "^17.0.2",
"react-test-renderer": "^16.14.0"
"react-test-renderer": "^16.14.0",
"typescript": "^4.9.3"
},

@@ -80,0 +81,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc