├── .github └── workflows │ └── release.yaml ├── .gitignore ├── LICENSE.md ├── README.md ├── benchmarks ├── array-delete.bench.ts ├── array-insert.bench.ts ├── counter.bench.ts ├── options.ts ├── put.bench.ts ├── splice.bench.ts ├── text.bench.ts └── unpatch.bench.ts ├── package.json ├── src ├── helpers.ts ├── index.ts ├── patch.ts └── unpatch.ts ├── tests ├── data.ts ├── document.test.ts ├── patch.test.ts └── unpatch.test.ts ├── tsconfig.json └── vite.config.ts /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/array-delete.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/benchmarks/array-delete.bench.ts -------------------------------------------------------------------------------- /benchmarks/array-insert.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/benchmarks/array-insert.bench.ts -------------------------------------------------------------------------------- /benchmarks/counter.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/benchmarks/counter.bench.ts -------------------------------------------------------------------------------- /benchmarks/options.ts: -------------------------------------------------------------------------------- 1 | export const options = { 2 | time: 5000, 3 | }; 4 | -------------------------------------------------------------------------------- /benchmarks/put.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/benchmarks/put.bench.ts -------------------------------------------------------------------------------- /benchmarks/splice.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/benchmarks/splice.bench.ts -------------------------------------------------------------------------------- /benchmarks/text.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/benchmarks/text.bench.ts -------------------------------------------------------------------------------- /benchmarks/unpatch.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/benchmarks/unpatch.bench.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/package.json -------------------------------------------------------------------------------- /src/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/src/helpers.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/patch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/src/patch.ts -------------------------------------------------------------------------------- /src/unpatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/src/unpatch.ts -------------------------------------------------------------------------------- /tests/data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/tests/data.ts -------------------------------------------------------------------------------- /tests/document.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/tests/document.test.ts -------------------------------------------------------------------------------- /tests/patch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/tests/patch.test.ts -------------------------------------------------------------------------------- /tests/unpatch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/tests/unpatch.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onsetsoftware/automerge-patcher/HEAD/vite.config.ts --------------------------------------------------------------------------------