@usefy/use-local-storage 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.
Files changed (2) hide show
  1. package/README.md +6 -14
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -437,20 +437,12 @@ This package maintains comprehensive test coverage to ensure reliability and sta
437
437
 
438
438
  ### Test Coverage
439
439
 
440
- | Category | Tests | Coverage |
441
- |----------|-------|----------|
442
- | Initialization | 7 | 100% |
443
- | setValue | 5 | 100% |
444
- | removeValue | 2 | 100% |
445
- | Type Preservation | 5 | 100% |
446
- | Custom Serialization | 2 | 100% |
447
- | Cross-Tab Sync | 5 | 100% |
448
- | Key Changes | 2 | 100% |
449
- | Function Stability | 3 | 100% |
450
- | Multiple Instances | 2 | 100% |
451
- | Edge Cases | 6 | 100% |
452
- | Cleanup | 1 | 100% |
453
- | **Total** | **40** | **95.08%** |
440
+ | Category | Coverage |
441
+ |----------|----------|
442
+ | Statements | 95.16% (59/62) |
443
+ | Branches | 85.71% (24/28) |
444
+ | Functions | 100% (9/9) |
445
+ | Lines | 95.08% (58/61) |
454
446
 
455
447
  ### Test Categories
456
448
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usefy/use-local-storage",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "A React hook for persisting state in localStorage with automatic synchronization",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",