瀏覽代碼

enhance: fuzzy search causing freezes/lag

Related to #1171
Tienson Qin 4 年之前
父節點
當前提交
8b41cbadc3
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 1 1
      package.json
  2. 2 3
      yarn.lock

+ 1 - 1
package.json

@@ -62,7 +62,7 @@
         "diff-match-patch": "^1.0.5",
         "electron": "^11.2.0",
         "fs": "^0.0.1-security",
-        "fuzzysort": "^1.1.4",
+        "fuzzysort": "git+https://github.com/getstation/fuzzysort#a66f5813825d2415b606cc69129070c4eb612ae2",
         "gulp-cached": "^1.1.1",
         "ignore": "^5.1.8",
         "jszip": "^3.5.0",

+ 2 - 3
yarn.lock

@@ -2399,10 +2399,9 @@ function-bind@^1.1.1:
   resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
   integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
 
-fuzzysort@^1.1.4:
+"fuzzysort@git+https://github.com/getstation/fuzzysort#a66f5813825d2415b606cc69129070c4eb612ae2":
   version "1.1.4"
-  resolved "https://registry.yarnpkg.com/fuzzysort/-/fuzzysort-1.1.4.tgz#a0510206ed44532cbb52cf797bf5a3cb12acd4ba"
-  integrity sha512-JzK/lHjVZ6joAg3OnCjylwYXYVjRiwTY6Yb25LvfpJHK8bjisfnZJ5bY8aVWwTwCXgxPNgLAtmHL+Hs5q1ddLQ==
+  resolved "git+https://github.com/getstation/fuzzysort#a66f5813825d2415b606cc69129070c4eb612ae2"
 
 gensync@^1.0.0-beta.1:
   version "1.0.0-beta.2"