Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
createPatch: (a, b) => compress(stripPatch(diffPatch(toArr(a), toArr(b)))),
}
export const createPatch = (a: string, b: string): Patch =>
compress(stripPatch(diffPatch(toArr(a), toArr(b))))