298 Commits

Author SHA1 Message Date
Elvin Dzhavadov
be759d5c08
Added list property in typings (#348) 2020-03-01 19:42:21 -08:00
Kiro Risk
2efc7b3242
Update README.md 2019-12-03 10:16:26 -05:00
Kirollos Risk
74d7f1e4cd new version 3.4.6 v3.4.6 2019-11-20 09:33:30 -08:00
konjac-potage
5e8e2ccb30 fix & enhance type definition of search() (#318)
* fix broken type inference

* enhance search definition

Split FuseResult into FuseResultWithMatches & FuseResultWithScore

* fix type of id, keys in FuserOptions

replace keyof T -> keyof T | string
object path like 'author.lastName' should be parmitted.
2019-10-30 23:19:44 -07:00
ErikLarsson82
b1fe7cc67b False positive matches when pattern.length > 32 #136 #254 bugfix (#333)
* Initial tests (that fail) for #136

* Fix for maximum integer overflow in signed 32 bit number by applying ceiling. Also tests. Issue #136
2019-10-30 23:14:51 -07:00
Dorian Marchal
0aa34e029c Add installation instructions to Readme.md (#327)
I copied these instructions from fusejs.io but chose to put NPM first;
NPM is the recommended installation method and Github users are
arguably more likely to use it than website-only users.
2019-08-30 10:49:19 -07:00
Kirollos Risk
fe1ff83645 v3.4.5 v3.4.5 2019-05-29 20:27:24 -07:00
Jeroen Claassens
248ee3176a Fix typings (#309)
This fixes the typings for nested keys which was previously broken, and
reported by @mmajko on #261

While this does fix the typings at least for now, they can be made even
more ideal. To achieve this however advanced typings would be required
and a request has been made to the utility-types repository (see:
https://github.com/piotrwitek/utility-types/issues/85) for the required
advanced type. To summarize that issue, if we would have a Flatten<T>
that would flatten the entire given typing T to single keys it would be
a perfect match for this library.
2019-05-29 20:21:37 -07:00
Kirollos Risk
d207dfb8d6 Fixes #293 v3.4.4 2019-03-09 21:19:55 -08:00
Jeroen Claassens (Favna)
664a9ac86b Fix for IE11 (ES5) compatibility (#294)
* Upgrade Jest

* ES5 (IE11) compatibility

* Bump version

* Actually properly bump version
2019-03-09 21:16:29 -08:00
Kirollos Risk
87162f15ac
Fixed #293 (#295) 2019-03-09 21:07:11 -08:00
Kirollos Risk
fb062da4c3 Stylistic change + travis fix v3.4.3 2019-03-06 21:25:58 -08:00
Jeroen Claassens (Favna)
48e55f7a7b Three improvements for the price of one (#291)
* Cleanup build

Partial: Requires next commit for a proper version!

* Port tests to the Jest framework

* Fix typings and cover them in a test

This should resolve #261 as long as the system of the test is being used. That being said, this system allows for a fully typed configuration with IDE support

TypeScript usage is further described in the documentation, so please accept that PR if this one is accepted.

* Run standard-format

* Remove duplicate types field from package
2019-03-06 21:06:27 -08:00
Kirollos Risk
2b81492eeb
Update README.md 2019-02-22 10:21:46 -08:00
Kirollos Risk
abb596bcd2
Update README.md 2019-02-13 20:57:13 -08:00
Kirollos Risk
6e8195746d
Update README.md 2019-02-13 16:23:59 -08:00
Kirollos Risk
48f47f5e29
Update README.md 2019-02-13 14:32:01 -08:00
Kirollos Risk
e846b941fb
Update backers.md 2019-02-13 14:29:27 -08:00
Kirollos Risk
ee0f5aabca
Update README.md 2019-02-13 14:27:13 -08:00
Kirollos Risk
00ca6a94e1
Update README.md 2019-02-13 14:26:58 -08:00
Kirollos Risk
2fc6776771
Update README.md 2019-02-13 14:26:40 -08:00
Kirollos Risk
8f5cd6c450
Update README.md 2019-02-13 14:26:16 -08:00
Kirollos Risk
78da7d5fe0
Update README.md 2019-02-13 14:19:25 -08:00
Kirollos Risk
e6884be9b8
Update README.md 2019-02-13 14:18:53 -08:00
Kirollos Risk
855b1531a7
Update README.md 2019-02-13 11:35:11 -08:00
Kirollos Risk
7c9d2b36a5
Update README.md 2019-02-13 11:34:55 -08:00
Kirollos Risk
d16c741f53
Update README.md 2019-02-13 11:34:32 -08:00
Kirollos Risk
4ccc3d39be
Update README.md 2019-02-13 11:33:46 -08:00
Kirollos Risk
1604a76577
Update README.md 2019-02-13 11:28:56 -08:00
Kirollos Risk
dafe3e78cd
Update README.md 2019-02-13 11:26:22 -08:00
Kirollos Risk
59bc5c81ef
Update README.md 2019-02-13 11:23:46 -08:00
Kirollos Risk
3448114cdd
Update README.md 2019-02-13 11:12:57 -08:00
Kirollos Risk
97ed1f9807
Update README.md 2019-02-10 14:11:18 -08:00
Kirollos Risk
290cfe49a5 Fixed #288 v3.4.2 2019-02-10 14:07:51 -08:00
Kirollos Risk
96073ba3e6 Fixes #283 2019-02-07 21:48:24 -08:00
Kirollos Risk
f5ec8a2b17 New fix version v3.4.1 2019-02-07 21:31:48 -08:00
Kirollos Risk
fbfc36db7b Fixes #283 2019-02-07 21:21:12 -08:00
Salvatore Ravidà
bf1c9fb599 [eval unsafe] fix build production only!! [urgent] (#283)
* fix build production only!!

eval( ) problem on production!! csp unsafe

* revert build script

* fix main export .min build production

* fix dist production only mode
2019-02-07 20:52:02 -08:00
Kirollos Risk
8f0029729a New version v3.4.0 2019-02-06 22:40:12 -08:00
Kirollos Risk
bf9c91dd00 Fuse now built via Webpack 4. Also fixes #280 2019-02-06 22:37:44 -08:00
Kirollos Risk
4f240d8b65 upgraded to webpack 4 2019-02-06 22:34:43 -08:00
Kirollos Risk
297423d359 Upgraded to latest webpack 2019-02-06 21:42:05 -08:00
William Lohan
54b5821d71 fix: search definition #265 (#281) 2019-02-06 20:57:00 -08:00
Kirollos Risk
dda7b70b5c
Update CHANGELOG.md 2019-02-04 23:41:16 -08:00
Kirollos Risk
5f537b698c Changelog v3.3.1 2019-02-04 23:38:12 -08:00
Kirollos Risk
fe02a9d94e New version 2019-02-04 23:32:56 -08:00
Kirollos Risk
85bfc8764b Fixes #197 2019-02-04 23:27:12 -08:00
Daniel Ruf
f20c1f519f ci: test Node.js 6, 8, 10 and latest (11) (#277) 2019-01-31 08:50:56 -08:00
Rob Ede
e79e2060c8 Result limiting per search (#211)
* add results limit parameter to search method

* mark limit parameter as optional in ts definition

* add limit option to opts parameter object

* add result limit tests

* update ts definitions
2019-01-14 15:25:31 -08:00
Kirollos Risk
be19a137d2 New version 3.3.0 v3.3.0 2018-10-20 10:35:45 -07:00