Socket
Socket
Sign inDemoInstall

react-search-autocomplete

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-search-autocomplete - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

4

package.json

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

"license": "MIT",
"version": "1.0.7",
"version": "1.0.8",
"description": "A search box for React",

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

"dependencies": {
"fuse.js": "^3.6.1",
"fuse.js": "^6.4.4",
"styled-components": "^4.4.1"

@@ -46,0 +46,0 @@ },

@@ -5,3 +5,3 @@ ![travis](https://travis-ci.com/sickdyd/react-search-autocomplete.svg?branch=master)

A `<ReactSearchAutocomplete>` is a fully customizable search box where the user can type text and filter the results.
A `<ReactSearchAutocomplete>` is a fully customizable search box where the user can type text and filter the results. It relies on [Fuse.js v6.4.4](https://fusejs.io/) for the fuzzy search. Check out their website to see the options (you can pass them to this component).

@@ -119,15 +119,2 @@ [Click here to see a demo](https://sickdyd.github.io/react-search-autocomplete-demo/).

//
// If you want to change what properties has to be searched in
// you can pass a different key, for example:
//
// fuseOptions={
// {
// keys: [
// "name",
// "anotherField"
// ]
// }
// }
// Doing so, fuse.js will search for the string also in the
// provided property.
// To know more about fuse params, visit https://fusejs.io/

@@ -134,0 +121,0 @@ fuseOptions,

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