diff --git a/src/DocumentHistoryModal.ts b/src/DocumentHistoryModal.ts index 0ac3240..99a2b98 100644 --- a/src/DocumentHistoryModal.ts +++ b/src/DocumentHistoryModal.ts @@ -1,8 +1,7 @@ -import { TFile, Modal, App } from "./deps"; +import { TFile, Modal, App, DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, diff_match_patch } from "./deps"; import { getPathFromTFile, isValidPath } from "./utils"; import { base64ToArrayBuffer, base64ToString, escapeStringToHTML } from "./lib/src/strbin"; import ObsidianLiveSyncPlugin from "./main"; -import { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, diff_match_patch } from "diff-match-patch"; import { type DocumentID, type FilePathWithPrefix, type LoadedEntry, LOG_LEVEL } from "./lib/src/types"; import { Logger } from "./lib/src/logger"; import { isErrorOfMissingDoc } from "./lib/src/utils_couchdb"; diff --git a/src/GlobalHistory.svelte b/src/GlobalHistory.svelte index 7fa25c3..33a51e8 100644 --- a/src/GlobalHistory.svelte +++ b/src/GlobalHistory.svelte @@ -3,7 +3,7 @@ import { onDestroy, onMount } from "svelte"; import type { AnyEntry, FilePathWithPrefix } from "./lib/src/types"; import { getDocData, isDocContentSame } from "./lib/src/utils"; - import { diff_match_patch } from "diff-match-patch"; + import { diff_match_patch } from "./deps"; import { DocumentHistoryModal } from "./DocumentHistoryModal"; import { isPlainText, stripAllPrefixes } from "./lib/src/path"; import { TFile } from "./deps"; diff --git a/src/JsonResolvePane.svelte b/src/JsonResolvePane.svelte index 56b94ae..6a67192 100644 --- a/src/JsonResolvePane.svelte +++ b/src/JsonResolvePane.svelte @@ -1,5 +1,5 @@