krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
17.89k stars 759 forks source link

fix: if null in array #497

Closed apellicc closed 3 years ago

apellicc commented 3 years ago

Hello, in the case of an array's item is null, fuse crash. I just added a check, else return.

apellicc commented 3 years ago

Is it possible to merge my PR ? It would help my project and others. Thanks