Robust diff, match and patch algorithms to perform operations required for synchronizing plain text
Generates a set of Sanity patches needed to change an item (usually a document) from one shape to another
Fast Javascript text diff
npm package for https://github.com/google/diff-match-patch
Generates a set of Sanity patches needed to change an item (usually a document) from one shape to another
TypeScript definitions for diff-match-patch
JSON diff & patch (object and array diff, text diff, multiple output formats)
Port of diff-match-patch to TypeScript.
ESM and TypeScript rewrite of Google's diff-match-patch
A lightweight and lazy implementation of JSONMatch made for JavaScript
Generates diffs between documents and primitive types
An extension module that adds line-mode and word-mode on diff-match-patch.
A diff/merging wrapper for Ace Editor built on google-diff-match-patch
TypeScript port of diff-match-patch.
> [!WARNING] > This package is replaced by [`next-sanity`].
Experimental toolkit for working with Sanity mutations in JavaScript & TypeScript
Type-safe, structured communication between worker threads and parent processes via TypeScript meta-programming.
Finds differences between two JSON object and generates operational transformation (OT) operations for transforming the first object into the second.
Match a Unicode property or property alias to its canonical property name per the algorithm used for RegExp Unicode property escapes in ECMAScript.
Truncate a semver version: `1.2.3` → `1.2.0`
Apply a JSON diff/patch to YAML while preserving whitespace, comments and overall structure
Compute a diff between two pieces of text with support for same-line diffs, and optionally display a visual diff as HTML. Module made from the text-diff-match-patch library.
Regular expression for matching semver versions
This package has moved into 'sanity/presentation' and is now deprecated.