Skip to content

Commit

Permalink
refactor(blog): Update SearchBox functionality and dependency versions
Browse files Browse the repository at this point in the history
Updated the SearchBox component's search input handler to improve responsiveness and enhance search functionality. Additionally, updated various dependencies for compatibility and security reasons. The SearchBox component now uses event listener for 'keyup' event instead of onkeyup property to abidere by best practices. It also defines the Article interface locally rather than importing it, making the component self-contained. The delay for textInputDelay function was also increased to reduce the number of function calls during user input, reducing potential performance issues. The dependencies in pnpm-lock.yaml were updated versions to assure compatibility and to include recent security patches.
  • Loading branch information
yacosta738 committed Sep 7, 2023
1 parent 6838f8e commit 7689b08
Show file tree
Hide file tree
Showing 3 changed files with 2,426 additions and 7,275 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@typescript-eslint/parser": "6.6.0",
"@vite-pwa/astro": "^0.1.2",
"@vueuse/core": "10.4.1",
"astro": "3.0.9",
"astro": "3.0.10",
"astro-compress": "1.1.23",
"astro-critters": "2.0.11",
"astro-i18next": "1.0.0-beta.21",
Expand All @@ -55,7 +55,7 @@
"husky": "8.0.3",
"i18next-fs-backend": "2.1.5",
"locale-emoji": "0.3.0",
"marked": "8.0.0",
"marked": "8.0.1",
"mdast-util-to-string": "4.0.0",
"nanostores": "0.9.3",
"postcss-nesting": "12.0.1",
Expand Down
Loading

0 comments on commit 7689b08

Please sign in to comment.