Decode: You can now use the new replaceCodePoint function to easily replace code points in your encoded entities, enhancing your encoding and decoding capabilities.
Improvements
Encoding: The encoding process is now more efficient with improvements made to handle edge cases involving surrogate pairs, ensuring better performance and accuracy.
Code Quality: The codebase has been refined with stricter boolean expressions enabled, which helps maintain high standards and prevents potential issues in the future.
Fixes
Fix an edge case in the encoding process that handles surrogate pairs, ensuring that all characters are correctly processed.
Others
Enhance the testing framework by adding tests for the decode logic, which verifies the integrity of the encoded trie.