Tags: wangmd/match-sorter
Tags
docs: add MichaelDeBoey as a contributor (kentcdodds#92) * docs: update README.md * docs: update .all-contributorsrc Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
fix: sort objects by matched key only (kentcdodds#79) Closes kentcdodds#78
docs: add brandonkal as a contributor (kentcdodds#72) * docs: update README.md * docs: update .all-contributorsrc
docs: add samyan as a contributor (kentcdodds#68) * docs: update README.md * docs: update .all-contributorsrc
fix: don't allow simple match to meet acronym threshold (kentcdodds#60) * Add test for issue kentcdodds#54 * Closes issue kentcdodds#54
fix: replace Diactric.js with remove-accents (kentcdodds#58) Closes kentcdodds#57 BREAKING CHANGE: We changed the diacritics library. No API changes, but there may be some behavioral changes with diacritics.
feat: add ability to set a threshold per key (kentcdodds#50) <!-- Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated! Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). Also, please make sure you're familiar with and follow the instructions in the contributing guidelines (found in the CONTRIBUTING.md file). If you're new to contributing to open source projects, you might find this free video course helpful: http://kcd.im/pull-request Please fill out the information below to expedite the review and (hopefully) merge of your pull request! --> <!-- What changes are being made? (What feature/bug is being fixed here?) --> **What**: Add the ability to set a threshold per key <!-- Why are these changes necessary? --> **Why**: To be able to set specific keys to only match when they meet a specified threshold <!-- How were these changes implemented? --> **How**: By adding returning the keys threshold with each match and verifying that the the match is `>=` the threshold specified on its key. <!-- Have you done all of these things? --> **Checklist**: <!-- add "N/A" to the end of each line that's irrelevant to your changes --> <!-- to check an item, place an "x" in the box like so: "- [x] Documentation" --> * [x] Documentation * [x] Tests * [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? --> * [x] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions --> <!-- feel free to add additional comments -->
PreviousNext