Full Changelog: v1.7.13...v1.7.15
v1.7.15
- Added a limit to the number of replacement rules
- Applied the limit in both
setReplaceTermsandaddReplaceTerm - Cloned default replacement data in the constructor
- Removed shared mutable state between instances
- Improved stability for long-running Node usage
v1.7.14
- Added
normalizeWhitespaceoption (enabled by default) - Decoupled casing logic from whitespace trimming
- Allowed whitespace-only strings instead of throwing
- Preserved original spacing when
normalizeWhitespace: false(editor-safe mode) – (Issue #17) - Added tests to lock down the whitespace behavior
- Minor README refinements
Contributors
Thanks to @miladaz for raising the whitespace/editor use case in Issue #17.