New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

poi-plugin-quest-info-2

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poi-plugin-quest-info-2 - npm Package Compare versions

Comparing version

to
0.10.0

6

CHANGELOG.md
# poi-plugin-quest-info-2
## 0.10.0
### Minor Changes
- 5e2ba3a: Highlight search results
## 0.9.15

@@ -4,0 +10,0 @@

4

package.json
{
"name": "poi-plugin-quest-info-2",
"version": "0.9.15",
"version": "0.10.0",
"private": false,

@@ -40,2 +40,3 @@ "description": "show quest info",

"moize": "^6.1.1",
"react-highlight-words": "^0.20.0",
"react-use": "^17.3.1",

@@ -55,2 +56,3 @@ "react-virtualized-auto-sizer": "^1.0.6",

"@types/pangu": "^3.3.0",
"@types/react-highlight-words": "^0.16.4",
"@types/react-virtualized-auto-sizer": "^1.0.1",

@@ -57,0 +59,0 @@ "@types/react-window": "^1.8.5",

import { useCallback } from 'react'
import { useThrottle } from 'react-use'
import { useStore } from './store'

@@ -18,1 +19,13 @@

}
export const useStableSearchWords = () => {
const { searchInput } = useSearchInput()
const throttledSearchInput = useThrottle(searchInput)
const searchKeywords = throttledSearchInput
.split(' ')
// Remove empty string
.filter((i) => !!i)
.map((i) => i.toUpperCase())
return searchKeywords
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet