PHP 8.2.30
Preview: index.d.ts Size: 431 B
/opt/alt/alt-nodejs16/root/lib/node_modules/npm/node_modules/just-diff-apply/index.d.ts

// Definitions by: Eddie Atkinson <https://github.com/eddie-atkinson>

type Operation = "add" | "replace" | "remove" | "move";

type DiffOps = Array<{
  op: Operation;
  path: Array<string | number>;
  value?: any;
}>;
type PathConverter = (path: string) => string[];

export function diffApply<T extends object>(
  obj: T,
  diff: DiffOps,
  pathConverter?: PathConverter
): T;
export const jsonPatchPathConverter: PathConverter;

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
431 B lrw-r--r-- 2026-03-09 06:51:28
Edit Download
4.37 KB lrw-r--r-- 2026-03-09 06:51:28
Edit Download
4.32 KB lrw-r--r-- 2026-03-09 06:51:28
Edit Download
1.91 KB lrw-r--r-- 2026-03-09 06:51:28
Edit Download
1.05 KB lrw-r--r-- 2026-03-09 06:51:28
Edit Download
763 B lrw-r--r-- 2026-03-09 06:51:28
Edit Download
120 B lrw-r--r-- 2026-03-09 06:51:28
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).