use-debouncy
Advanced tools
Comparing version 1.9.2 to 1.9.3
@@ -0,1 +1,8 @@ | ||
## [1.9.3](https://github.com/eavam/use-debouncy/compare/v1.9.2...v1.9.3) (2020-07-01) | ||
### Bug Fixes | ||
* add example gif ([54d1cbe](https://github.com/eavam/use-debouncy/commit/54d1cbe04bc72f0d77c42ab30b4144ab1c3768f5)) | ||
## [1.9.2](https://github.com/eavam/use-debouncy/compare/v1.9.1...v1.9.2) (2020-06-28) | ||
@@ -2,0 +9,0 @@ |
import { EffectCallback, DependencyList } from 'react'; | ||
/** | ||
* | ||
* @param fn - Callback called on debounce. | ||
* @param wait - Number of milliseconds to delay. | ||
* @param deps - Array values that the debounce depends (like as useEffect). | ||
*/ | ||
declare const useDebouncy: (fn: EffectCallback, wait?: number | undefined, deps?: DependencyList | undefined) => void; | ||
export default useDebouncy; |
{ | ||
"name": "use-debouncy", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"author": "Egor Avakumov", | ||
@@ -40,3 +40,3 @@ "description": "🌀Tiny (<150 bytes) debounce react effect hook with typescript support", | ||
"@rollup/plugin-commonjs": "13.0.0", | ||
"@rollup/plugin-typescript": "5.0.0", | ||
"@rollup/plugin-typescript": "5.0.1", | ||
"@semantic-release/changelog": "5.0.1", | ||
@@ -53,4 +53,4 @@ "@semantic-release/commit-analyzer": "8.0.1", | ||
"@types/react": "16.9.38", | ||
"@typescript-eslint/eslint-plugin": "3.4.0", | ||
"@typescript-eslint/parser": "3.4.0", | ||
"@typescript-eslint/eslint-plugin": "3.5.0", | ||
"@typescript-eslint/parser": "3.5.0", | ||
"eslint": "7.3.1", | ||
@@ -60,4 +60,4 @@ "eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-prettier": "3.1.4", | ||
"eslint-plugin-react": "7.20.0", | ||
"eslint-plugin-react-hooks": "4.0.4", | ||
"eslint-plugin-react": "7.20.3", | ||
"eslint-plugin-react-hooks": "4.0.5", | ||
"eslint-plugin-unicorn": "20.1.0", | ||
@@ -76,3 +76,4 @@ "husky": "4.2.5", | ||
"ts-jest": "26.1.1", | ||
"typescript": "3.9.5" | ||
"tslib": "2.0.0", | ||
"typescript": "3.9.6" | ||
}, | ||
@@ -79,0 +80,0 @@ "husky": { |
@@ -10,2 +10,4 @@ # useDebouncy | ||
![](assets/example.gif) | ||
## Features | ||
@@ -12,0 +14,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
20775
16
51
0
38