This repository was archived by the owner on Aug 5, 2024. It is now read-only.
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
Open
@d4rkr00t

Description

encodeURI blows up for some _obj:

diff_match_._obj..toString = function() {

Example:

let diff_match_ = require("diff-match-");

let text1 = "🅱";
let text2 = "🅰";

let diff = new diff_match_();
console.log(diff._toText(diff._make(text1, text2)));