Releases: mirismaili/text-wrapper
Releases · mirismaili/text-wrapper
v2.0.2
v2.0.1
v2.0.0
2.0.0 (2019-06-17)
Bug Fixes
- debug: Instance-property
debug
was removed and replaced with a static and global one (5540f26)
Code Refactoring
- getVisualLength -> vLen:
getVisualLength()
was renamed tovLen()
and was documented (998a7e7)
BREAKING CHANGES
- debug: 1. Instance-property
debug
was removed and replaced with a static and global one
2. debug-mode was disabled by default (debug.disable()
). Even inDEBUG
env-var presence.
3. "<@MODULE_NAME@>:" prefix was added to debuggers' namespaces. - getVisualLength -> vLen:
getVisualLength()
was renamed tovLen()
v1.1.1
v1.0.0
1.0.0 (2019-06-10)
Bug Fixes
- puppeteer: The problem caused by global installed puppeteer was solved by reverting it to dev (c11e927)
Code Refactoring
- TextWrapper.ts: 1. Default
wrapOn
value was changed from 120 to 100 (d84139b)
Features
- Main algorithm and API: 1. Main algorithm was changed to support indentations correctly (e12bcb7)
Performance Improvements
- test: The performance of "Try to find an illegal short line" was highly improved (> 2k times!) (206bff8), closes /github.com/mattphillips/jest-expect-message/issues/8#issuecomment-500085909
BREAKING CHANGES
- TextWrapper.ts: 1. Default
wrapOn
value was changed from 120 to 100
2.DEF_WRAP_STYLE
=>DEF_WRAP_OPTIONS