@usefy/use-throttle-callback 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -395,16 +395,12 @@ This package maintains comprehensive test coverage to ensure reliability and sta
|
|
|
395
395
|
|
|
396
396
|
### Test Coverage
|
|
397
397
|
|
|
398
|
-
| Category |
|
|
399
|
-
|
|
400
|
-
|
|
|
401
|
-
|
|
|
402
|
-
|
|
|
403
|
-
|
|
|
404
|
-
| Control Methods | 4 | 100% |
|
|
405
|
-
| Callback Updates | 2 | 100% |
|
|
406
|
-
| Cleanup | 2 | 100% |
|
|
407
|
-
| **Total** | **20** | **100%** |
|
|
398
|
+
| Category | Coverage |
|
|
399
|
+
|----------|----------|
|
|
400
|
+
| Statements | 100% (2/2) |
|
|
401
|
+
| Branches | 100% (4/4) |
|
|
402
|
+
| Functions | 100% (1/1) |
|
|
403
|
+
| Lines | 100% (2/2) |
|
|
408
404
|
|
|
409
405
|
### Running Tests
|
|
410
406
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usefy/use-throttle-callback",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "A React hook for throttling callback functions",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@usefy/use-debounce-callback": "0.0.
|
|
20
|
+
"@usefy/use-debounce-callback": "0.0.12"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^18.0.0 || ^19.0.0"
|