-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: Throw on non-string arguments and replace the caseInsensit…
…ive function with an option BREAKING CHANGE: `naturalCompare()` now throws if either of the first two arguments are not a string. Also, the `naturalCompare.caseInsensitive()` function has been removed. Pass `{caseInsensitive: true}` as the third parameter to `naturalCompare()` instead.
- Loading branch information
Showing
3 changed files
with
133 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters