Commit Graph
2 Commits
Author SHA1 Message Date
Chris Tate 320a97bf3b Throw Node's TypeError for util.diff of two distinct empty sequences
util.diff([], []) with two arrays read one element past its trace row
while backtracking. Node's myersDiff answers undefined for two empty
sequences, and util.diff's ArrayPrototypeReverse throws "Cannot convert
undefined or null to object"; scr_util_diff now throws the same TypeError
before it allocates the trace.
2026-10-24 20:19:50 -05:00
Chris Tate 97c3b04f73 Merge main and add the Node 24 util batch 2026-10-24 18:55:14 -05:00