A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
perf: treeshakable import of jshashes
thecodrr96e2335aa66f
diff --git a/packages/core/database/backup.js b/packages/core/database/backup.jsindex 77d568343..9d59005f2 100644--- a/packages/core/database/backup.js+++ b/packages/core/database/backup.js@@ -1,11 +1,11 @@-import Hashes from "jshashes";+import { MD5 } from "jshashes";import Migrator from "./migrator.js";import {CHECK_IDS,sendCheckUserStatusEvent,CURRENT_DATABASE_VERSION,} from "../common.js";-const md5 = new Hashes.MD5();+const md5 = new MD5();const invalidKeys = ["user", "t", "lastBackupTime"];const validTypes = ["mobile", "web", "node"];