refactor: rewrite search component with fastsearch

This commit is contained in:
grassblock 2025-05-22 22:54:13 +08:00
parent a7fea79d98
commit 45e43928e7
3 changed files with 188 additions and 81 deletions

9
pnpm-lock.yaml generated
View file

@ -29,9 +29,6 @@ importers:
astro:
specifier: ^5.2.5
version: 5.7.10(@azure/identity@4.9.1)(@types/node@22.15.3)(rollup@4.40.1)(typescript@5.8.3)(yaml@2.7.1)
fuse.js:
specifier: ^7.0.0
version: 7.1.0
sharp:
specifier: ^0.34.1
version: 0.34.1
@ -1692,10 +1689,6 @@ packages:
function-bind@1.1.2:
resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
fuse.js@7.1.0:
resolution: {integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==}
engines: {node: '>=10'}
get-caller-file@2.0.5:
resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
engines: {node: 6.* || 8.* || >= 10.*}
@ -4927,8 +4920,6 @@ snapshots:
function-bind@1.1.2: {}
fuse.js@7.1.0: {}
get-caller-file@2.0.5: {}
get-east-asian-width@1.3.0: {}