this is a vendored copy of jsdiff v5.2.0 which has been converted to typescript

some guards and formatting changes are also applied. see https://anysphere.slack.com/archives/C05UENKTMD5/p1729615504936449?thread_ts=1729613583.796979&cid=C05UENKTMD5
