@drupflare/workforce - v0.3.0
    Preparing search index...

    Function diffLines

    • A line diff, longest-common-subsequence over lines.

      Small on purpose. A Worker bundle is usually one minified line, so the value here is in the hand-written sources a caller also ships, and a full Myers implementation would be a dependency for a case this shape does not reward.

      Parameters

      • before: string
      • after: string

      Returns LineChange[]