diff --git a/frontend/package.json b/frontend/package.json index 2c95d14e8..c7b68aa52 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -86,7 +86,7 @@ "dompurify": "3.2.6", "fast-deep-equal": "3.1.3", "flatpickr": "4.6.13", - "flexsearch": "0.7.43", + "flexsearch": "0.8.205", "floating-vue": "5.2.2", "is-touch-device": "1.0.1", "klona": "2.0.6", @@ -157,7 +157,7 @@ "pnpm": { "patchedDependencies": { "@github/hotkey@3.1.1": "patches/@github__hotkey@3.1.1.patch", - "flexsearch@0.7.43": "patches/flexsearch@0.7.43.patch" + "flexsearch@0.8.205": "patches/flexsearch@0.8.205.patch" }, "onlyBuiltDependencies": [ "@parcel/watcher", diff --git a/frontend/patches/flexsearch@0.7.43.patch b/frontend/patches/flexsearch@0.7.43.patch deleted file mode 100644 index 6850d618c..000000000 --- a/frontend/patches/flexsearch@0.7.43.patch +++ /dev/null @@ -1,18 +0,0 @@ -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/patches/flexsearch@0.8.205.patch b/frontend/patches/flexsearch@0.8.205.patch new file mode 100644 index 000000000..f7136ba89 --- /dev/null +++ b/frontend/patches/flexsearch@0.8.205.patch @@ -0,0 +1,34 @@ +diff --git a/package.json b/package.json +index 5f8239ff969323f40dfd1602d3ef48cb438fd723..8d8d3c988cd9554a3e5401b44b559484bb38c9b5 100644 +--- a/package.json ++++ b/package.json +@@ -28,10 +28,8 @@ + "email": "info@nextapps.de" + }, + "main": "dist/flexsearch.bundle.min.js", +- "module": "dist/flexsearch.bundle.module.min.js", +- "types": "./index.d.ts", + "exports": { + ".": { + "types": "./index.d.ts", + "import": "./dist/flexsearch.bundle.module.min.js", + "require": "./dist/flexsearch.bundle.min.js" + }, + "./lang/*": { + "import": "./dist/module/lang/*.js", + "require": "./dist/lang/*.min.js" + }, + "./db/*": { + "import": "./dist/module/db/*/index.js", + "require": "./dist/db/*/index.cjs" + }, + "./debug": { + "import": "./dist/flexsearch.bundle.module.debug.js", + "require": "./dist/flexsearch.bundle.debug.js" + } + }, + "browser": { + "flexsearch": "./dist/flexsearch.bundle.module.min.js", + "flexsearch/debug": "./dist/flexsearch.bundle.module.debug.js", + "dist/flexsearch.bundle.min.js": "./dist/flexsearch.bundle.min.js", + "dist/flexsearch.bundle.module.min.js": "./dist/flexsearch.bundle.module.min.js" diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 34bcca11c..5dc719503 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -8,9 +8,9 @@ patchedDependencies: '@github/hotkey@3.1.1': hash: 145ab3233cbcd3bc934b4961cd8710e2b15e4ae5dd20862a8d1d6621d7f9d4a8 path: patches/@github__hotkey@3.1.1.patch - flexsearch@0.7.43: - hash: f7066310ad918eadadaf64278c0a00d7ca785faf7d7fb631392b50db140954a6 - path: patches/flexsearch@0.7.43.patch + flexsearch@0.8.205: + hash: e038b813d8bf1c71d07a35c866056edc10b68b513c474e8a3c0c5078ba0f7e9a + path: patches/flexsearch@0.8.205.patch importers: @@ -3874,8 +3874,8 @@ packages: flatted@3.3.1: resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} - flexsearch@0.7.43: - resolution: {integrity: sha512-c5o/+Um8aqCSOXGcZoqZOm+NqtVwNsvVpWv6lfmSclU954O3wvQKxxK8zj74fPaSJbXpSLTs4PRhh+wnoCXnKg==} + flexsearch@0.8.205: + resolution: {integrity: sha512-REFjMqy86DKkCTJ4gIE42c9MVm9t1vUWfEub/8taixYuhvyu4jd4XmFALk5VuKW4GH4VLav8A4BJboTsslHF1w==} floating-vue@5.2.2: resolution: {integrity: sha512-afW+h2CFafo+7Y9Lvw/xsqjaQlKLdJV7h1fCHfcYQ1C4SVMlu7OAekqWgu5d4SgvkBVU0pVpLlVsrSTBURFRkg==} @@ -10823,7 +10823,7 @@ snapshots: flatted@3.3.1: {} - flexsearch@0.7.43(patch_hash=f7066310ad918eadadaf64278c0a00d7ca785faf7d7fb631392b50db140954a6): {} + flexsearch@0.8.205(patch_hash=e038b813d8bf1c71d07a35c866056edc10b68b513c474e8a3c0c5078ba0f7e9a): {} floating-vue@5.2.2(vue@3.5.16(typescript@5.8.3)): dependencies: