Skip to content

v1.7.15

Latest

Choose a tag to compare

@danielhaim1 danielhaim1 released this 17 Feb 17:04

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 setReplaceTerms and addReplaceTerm
  • Cloned default replacement data in the constructor
  • Removed shared mutable state between instances
  • Improved stability for long-running Node usage

v1.7.14

  • Added normalizeWhitespace option (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.