react-search-autocomplete
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -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, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57637
177
+ Addedfuse.js@6.6.2(transitive)
- Removedfuse.js@3.6.1(transitive)
Updatedfuse.js@^6.4.4