MCPcopy
hub / github.com/benjamine/jsondiffpatch / Options

Interface Options

packages/jsondiffpatch/src/types.ts:5–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import type DiffContext from './contexts/diff.js';
4
5export interface Options {
6 objectHash?: (item: object, index?: number) => string | undefined;
7 matchByPosition?: boolean;
8 arrays?: {
9 detectMove?: boolean;
10 includeValueOnMove?: boolean;
11 };
12 textDiff?: {
13 diffMatchPatch: typeof dmp;
14 minLength?: number;
15 };
16 propertyFilter?: (name: string, context: DiffContext) => boolean;
17 cloneDiffValues?: boolean | ((value: unknown) => unknown);
18}
19
20export type AddedDelta = [unknown];
21export type ModifiedDelta = [unknown, unknown];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…