Releases: alexmacarthur/striff
Releases · alexmacarthur/striff
Update Dev Deps + Migrate to Vitest
v1.0.5 Bump to v1.0.5.
Bug Fix & Internal Improvements
- Changes the way two strings hold reference to matched characters.
- Fixes a bug causing incorrect diffs for a particular pattern of string(s) (Issue #8).
Build Dependency Updates, Minification Settings Tweak
- Updates dependencies used for development & bundling.
- Switches to Terser for minification.
Escape Strings for RegExp()
When strings contained regex operators (like question marks), an exception was occurring because they weren't property escaped. This fixes that.
What's Changed
- Properly escape strings before converting to RegExp pattern. by @alexmacarthur in #6
Full Changelog: v1.0.1...v1.0.2
Fix Issue Occurring During Character Reuse
Unexpected diffing was occurring for strings that involved the same character being used multiple times (like "wow"). This release fixes that issue.
New Algorithm, More Reliable, Way Lighter
After attempting to figure out some weird results in certain circumstances, I ended totally rewriting the algorithm I was using, and ended up cutting a ton of weight from the package along the way. Excited about this one.
Fix Middle-String Insert Bug
Fixes an issue occurring when a character was inserted into the middle of a string.
Add Appropriate License
v0.0.4 Bump version.
v0.0.3
Look, a functional release!