highlight-words-core
highlight-words-core copied to clipboard
Utility functions shared by react-highlight-words and react-native-highlight-words
Hi @bvaughn, thanks for this package, very useful! I wanted to see whether you'd be open to also returning a [Text Fragment](https://wicg.github.io/scroll-to-text-fragment/) ([blog post](https://web.dev/articles/text-fragments)) in addition to the chunks matched...
Stumbled across react-highlight-words library and noticed that when I add "[" character, it breaks the whole app. This PR should fix both packages.  
bvaughn/react-highlight-words#68 added activeIndex to combineChunks function
I'm trying to integrate `react-highlight-words` in a page where highlighting needs to be done on rendered HTML from one markdown (the project its Cucumber new HTML report). In this PR,...
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.1 to 1.16.1. Release notes *Sourced from [sshpk's releases](https://github.com/joyent/node-sshpk/releases).* > ## v1.16.1 > * Fixes for [#60](https://github-redirect.dependabot.com/joyent/node-sshpk/issues/60) (correctly encoding certificates with expiry dates >=2050), [#62](https://github-redirect.dependabot.com/joyent/node-sshpk/issues/62) (accepting PKCS#8...
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6. Commits - [`fee31c5`](https://github.com/mhart/StringStream/commit/fee31c5c4a5efc7c7cc2fde4aee633dedefd6d67) 0.0.6 - [`2f4a9d4`](https://github.com/mhart/StringStream/commit/2f4a9d496f94b0880e01a26857aa266a5a3ef274) Merge pull request [#9](https://github-redirect.dependabot.com/mhart/StringStream/issues/9) from mhart/fix-buffer-constructor-vuln - [`afbc744`](https://github.com/mhart/StringStream/commit/afbc7442220358419e330618e47f3a65fc265b1b) Ensure data is not a number in Buffer constructor -...
Bumps [extend](https://github.com/justmoon/node-extend) from 3.0.1 to 3.0.2. Changelog *Sourced from [extend's changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md).* > 3.0.2 / 2018-07-19 > ================== > * [Fix] Prevent merging `__proto__` property ([#48](https://github-redirect.dependabot.com/justmoon/node-extend/issues/48)) > * [Dev Deps] update...
caches the regex if the same word is repeated in the search words array and uses the search word as the key.