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
web: replace `localforage-getitems` git package with `@notesnook/localforage-getitems`
Abdullah Atta21bd6ffbd932
diff --git a/apps/web/package-lock.json b/apps/web/package-lock.jsonindex e606c2c1d..37e7980c0 100644--- a/apps/web/package-lock.json+++ b/apps/web/package-lock.json@@ -19,6 +19,7 @@"@mdi/react": "^1.4.0","@notesnook-importer/core": "^1.5.2","@notesnook/desktop": "file:desktop",+ "@notesnook/localforage-getitems": "^1.4.4","@tanstack/react-virtual": "^3.0.0-beta.18","@theme-ui/components": "^0.14.7","@theme-ui/core": "^0.14.7",@@ -38,7 +39,6 @@"immer": "^9.0.6","localforage": "^1.10.0","localforage-driver-memory": "^1.0.5",- "localforage-getitems": "https://github.com/thecodrr/localForage-getItems.git","mac-scrollbar": "^0.10.3","marked": "^4.1.0","phone": "^3.1.14",@@ -3538,6 +3538,14 @@"resolved": "desktop","link": true},+ "node_modules/@notesnook/localforage-getitems": {+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/@notesnook/localforage-getitems/-/localforage-getitems-1.4.4.tgz",+ "integrity": "sha512-uKchh9LBu6kvocUxwznTiPFDTF/d7pIGB3egNZFn+pnkK7GLWKb6+hmYRlXMcqPG6lWvCDSw3Wu+avCyjqSJxQ==",+ "dependencies": {+ "localforage": ">=1.4.0"+ }+ },"node_modules/@otplib/core": {"version": "12.0.1","dev": true,@@ -12201,13 +12209,6 @@"localforage": "^1.5.0"}},- "node_modules/localforage-getitems": {- "version": "1.4.2",- "resolved": "git+ssh://[email protected]/thecodrr/localForage-getItems.git#183391aa58cde335b760e37a1c1af5ec17df6f4a",- "dependencies": {- "localforage": ">=1.4.0"- }- },"node_modules/locate-path": {"version": "6.0.0","license": "MIT",@@ -20607,6 +20608,14 @@"isomorphic-fetch": "^3.0.0"}},+ "@notesnook/localforage-getitems": {+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/@notesnook/localforage-getitems/-/localforage-getitems-1.4.4.tgz",+ "integrity": "sha512-uKchh9LBu6kvocUxwznTiPFDTF/d7pIGB3egNZFn+pnkK7GLWKb6+hmYRlXMcqPG6lWvCDSw3Wu+avCyjqSJxQ==",+ "requires": {+ "localforage": ">=1.4.0"+ }+ },"@otplib/core": {"version": "12.0.1","dev": true@@ -26054,13 +26063,6 @@"tslib": "^1.6.0"}},- "localforage-getitems": {- "version": "git+ssh://[email protected]/thecodrr/localForage-getItems.git#183391aa58cde335b760e37a1c1af5ec17df6f4a",- "from": "localforage-getitems@https://github.com/thecodrr/localForage-getItems.git",- "requires": {- "localforage": ">=1.4.0"- }- },"locate-path": {"version": "6.0.0","requires": {diff --git a/apps/web/package.json b/apps/web/package.jsonindex 85d6d3fbf..b567ec8b2 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -22,6 +22,7 @@"@notesnook/crypto-worker": "*","@notesnook/desktop": "file:desktop","@notesnook/editor": "*",+ "@notesnook/localforage-getitems": "^1.4.4","@notesnook/logger": "*","@notesnook/streamable-fs": "*","@notesnook/theme": "*",@@ -45,7 +46,6 @@"immer": "^9.0.6","localforage": "^1.10.0","localforage-driver-memory": "^1.0.5",- "localforage-getitems": "https://github.com/thecodrr/localForage-getItems.git","mac-scrollbar": "^0.10.3","marked": "^4.1.0","phone": "^3.1.14",diff --git a/apps/web/src/interfaces/storage.ts b/apps/web/src/interfaces/storage.tsindex c4ef98236..7b0336931 100644--- a/apps/web/src/interfaces/storage.ts+++ b/apps/web/src/interfaces/storage.ts@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/import localforage from "localforage";-import { extendPrototype } from "localforage-getitems";+import { extendPrototype } from "@notesnook/localforage-getitems";import * as MemoryDriver from "localforage-driver-memory";import { getNNCrypto } from "./nncrypto.stub";import type { Cipher, SerializedKey } from "@notesnook/crypto/dist/src/types";