Skip to content

Releases: mooeypoo/dom-word-replacer

v0.9.9

06 May 14:18
Compare
Choose a tag to compare

[0.9.9] - 2021-05-06

Deprecated

  • Deprecate using baseUrl and useBothWays as individual parameters in DomWordReplacer.replace() method. Use options object instead.

Changed

  • Replace .replace(...) method parameters with an options 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

22 Apr 18:51
Compare
Choose a tag to compare
  • Fix problems with case insensitive replacements.
  • Some refactoring and simplifying.

v0.9.7

22 Apr 03:49
Compare
Choose a tag to compare

Quickfix for entrypoint in package.json.

v0.9.6

22 Apr 03:40
Compare
Choose a tag to compare

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

20 Apr 06:40
Compare
Choose a tag to compare

Performance release.

Replace xpath with node iterator. Refactor to prevent multiple iterations on the same content/Dom.

v0.9.4

20 Apr 03:57
Compare
Choose a tag to compare
  • 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

18 Apr 19:18
Compare
Choose a tag to compare

Adding a build step to the release mechanism to make sure /dist files are exposed.

v0.9.2

18 Apr 18:39
Compare
Choose a tag to compare

Correcting a definition of npm publication where the /dist folder was ignored.

v0.9.1

18 Apr 18:28
Compare
Choose a tag to compare

Working version of the package.

Please see README for instructions.

0.9.0 First release

18 Apr 04:22
Compare
Choose a tag to compare

This package is not yet ready for production, but this is a test version of its operation.

Please see README.