diff --git a/frontend/package.json b/frontend/package.json index 6a9a52681..0a7836cb9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -105,7 +105,7 @@ "dompurify": "3.1.6", "fast-deep-equal": "3.1.3", "flatpickr": "4.6.13", - "flexsearch": "0.7.31", + "flexsearch": "0.7.43", "floating-vue": "5.2.2", "is-touch-device": "1.0.1", "klona": "2.0.6", @@ -179,8 +179,8 @@ }, "pnpm": { "patchedDependencies": { - "flexsearch@0.7.31": "patches/flexsearch@0.7.31.patch", - "@github/hotkey@3.1.1": "patches/@github__hotkey@3.1.1.patch" + "@github/hotkey@3.1.1": "patches/@github__hotkey@3.1.1.patch", + "flexsearch@0.7.43": "patches/flexsearch@0.7.43.patch" } } } diff --git a/frontend/patches/flexsearch@0.7.31.patch b/frontend/patches/flexsearch@0.7.31.patch deleted file mode 100644 index da1ddb9f8..000000000 --- a/frontend/patches/flexsearch@0.7.31.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/index.d.ts b/index.d.ts -deleted file mode 100644 -index 9f39f41073864b83968bdaa242ac4e3c3149685a..0000000000000000000000000000000000000000 -diff --git a/package.json b/package.json -index 8968f5bf8010ff194240591c8b83299f7328e79d..6d84b6f590a841b129ed8b3860cb786df5a185c0 100644 ---- a/package.json -+++ b/package.json -@@ -22,8 +22,6 @@ - }, - "main": "dist/flexsearch.bundle.js", - "browser": "dist/flexsearch.bundle.js", -- "module": "dist/module/index.js", -- "types": "./index.d.ts", - "preferGlobal": false, - "repository": { - "type": "git", \ No newline at end of file diff --git a/frontend/patches/flexsearch@0.7.43.patch b/frontend/patches/flexsearch@0.7.43.patch new file mode 100644 index 000000000..6850d618c --- /dev/null +++ b/frontend/patches/flexsearch@0.7.43.patch @@ -0,0 +1,18 @@ +diff --git a/package.json b/package.json +index c154e54029c94be444916fb2249941e7182d80ed..54a65c42a42c4627506e016132becc43b47a517c 100644 +--- a/package.json ++++ b/package.json +@@ -28,13 +28,11 @@ + "email": "info@nextapps.de" + }, + "main": "dist/flexsearch.bundle.min.js", +- "module": "dist/flexsearch.bundle.module.min.js", + "browser": { + "dist/flexsearch.bundle.min.js": "./dist/flexsearch.bundle.min.js", + "dist/flexsearch.bundle.module.min.js": "./dist/flexsearch.bundle.module.min.js", + "worker_threads": false + }, +- "types": "./index.d.ts", + "scripts": { + "build": "npm run copy && npm run build:bundle", + "build:bundle": "node task/build RELEASE=bundle DEBUG=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index ec4dd9232..c18e316a8 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -8,9 +8,9 @@ patchedDependencies: '@github/hotkey@3.1.1': hash: c67tdk7qpd5grxd2zj6lsxfbou path: patches/@github__hotkey@3.1.1.patch - flexsearch@0.7.31: - hash: bfn3sngfuhktmdj7jgl3ejl35y - path: patches/flexsearch@0.7.31.patch + flexsearch@0.7.43: + hash: ckihdd27npzvopd22uqqxfna44 + path: patches/flexsearch@0.7.43.patch importers: @@ -182,8 +182,8 @@ importers: specifier: 4.6.13 version: 4.6.13 flexsearch: - specifier: 0.7.31 - version: 0.7.31(patch_hash=bfn3sngfuhktmdj7jgl3ejl35y) + specifier: 0.7.43 + version: 0.7.43(patch_hash=ckihdd27npzvopd22uqqxfna44) floating-vue: specifier: 5.2.2 version: 5.2.2(vue@3.5.4(typescript@5.5.4)) @@ -3625,8 +3625,8 @@ packages: flexsearch@0.7.21: resolution: {integrity: sha512-W7cHV7Hrwjid6lWmy0IhsWDFQboWSng25U3VVywpHOTJnnAZNPScog67G+cVpeX9f7yDD21ih0WDrMMT+JoaYg==} - flexsearch@0.7.31: - resolution: {integrity: sha512-XGozTsMPYkm+6b5QL3Z9wQcJjNYxp0CYn3U1gO7dwD6PAqU1SVWZxI9CCg3z+ml3YfqdPnrBehaBrnH2AGKbNA==} + flexsearch@0.7.43: + resolution: {integrity: sha512-c5o/+Um8aqCSOXGcZoqZOm+NqtVwNsvVpWv6lfmSclU954O3wvQKxxK8zj74fPaSJbXpSLTs4PRhh+wnoCXnKg==} floating-vue@5.2.2: resolution: {integrity: sha512-afW+h2CFafo+7Y9Lvw/xsqjaQlKLdJV7h1fCHfcYQ1C4SVMlu7OAekqWgu5d4SgvkBVU0pVpLlVsrSTBURFRkg==} @@ -10000,7 +10000,7 @@ snapshots: flexsearch@0.7.21: {} - flexsearch@0.7.31(patch_hash=bfn3sngfuhktmdj7jgl3ejl35y): {} + flexsearch@0.7.43(patch_hash=ckihdd27npzvopd22uqqxfna44): {} floating-vue@5.2.2(vue@3.5.4(typescript@5.5.4)): dependencies: