Releases: mooeypoo/dom-word-replacer
Releases · mooeypoo/dom-word-replacer
Release list
v0.9.9
[0.9.9] - 2021-05-06
Deprecated
- Deprecate using
baseUrlanduseBothWaysas individual parameters inDomWordReplacer.replace()method. Useoptionsobject instead.
Changed
- Replace
.replace(...)method parameters with anoptionsconfig object
Added
- Add 'suggestionMode' config option
- Add option to mimic capitalization in replacements
- Add jsdoc support
Fixed
- Code cleanup, add Replacer class
v0.9.8
v0.9.7
v0.9.6
Behavior fixes:
- Ignore case sensitivity in search
- Fix replacing on top of another replacement if there are two in the same node text
- Add
showDictionaryKeysconfig option
Build changes:
- Add demo runner for benchmarking
- Change CI to circleci and coveralls and add coverage report
- Fix dependencies
Please see README for full functionality.
v0.9.5
v0.9.4
- Replace the serializer for more consistent output.
- Replace the parser to
dominofor better performance - Add config option
cssfor injecting CSS into the finished replaced document - Add option to provide
baseUrlto the replace method to add a<base>node and have the pages work as-is after replacement.
Please see README for full instructions.
v0.9.3
v0.9.2
v0.9.1
0.9.0 First release
This package is not yet ready for production, but this is a test version of its operation.
Please see README.