Releases: mooeypoo/dom-word-replacer
Releases · mooeypoo/dom-word-replacer
v0.9.9
[0.9.9] - 2021-05-06
Deprecated
- Deprecate using
baseUrl
anduseBothWays
as individual parameters inDomWordReplacer.replace()
method. Useoptions
object instead.
Changed
- Replace
.replace(...)
method parameters with anoptions
config 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
showDictionaryKeys
config 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
domino
for better performance - Add config option
css
for injecting CSS into the finished replaced document - Add option to provide
baseUrl
to 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.