| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-01-13 | 1.4 kB | |
| Release v1.2.5 source code.tar.gz | 2026-01-13 | 111.6 kB | |
| Release v1.2.5 source code.zip | 2026-01-13 | 158.4 kB | |
| Totals: 3 Items | 271.5 kB | 1 | |
New Features
- Import/Export Rules:
- Added
getAllRules()utility function to retrieve all rules as JSON - Added
exportRules()function to download rules as JSON file - Added import functionality with overwrite option
-
New "Export" and "Import" buttons in rule editor toolbar
-
Network Log Context Menu:
- Added right-click context menu for network log entries
- Copy response body to clipboard
- Copy as cURL command for easy reproduction
- Clear all network logs option
Improvements
- Error Handling:
- Enhanced error response to include error details message
- Improved error handling in mock response resolution
-
Better error messaging for mock function execution failures
-
Mock Data Generation:
- Optimized unique ID generation using
crypto.randomUUID()when available - Improved test cases for UUID generation validation
-
Enhanced mock data generation logic consistency
-
UI/UX:
- Optimized context menu DOM management for better performance
- Ensured URL format correctness in cURL generation
- Fixed network log menu item display issues
Documentation
- Updated README with import/export feature documentation
- Updated user manual with new features and screenshots
- Improved documentation clarity for network debugging features
📦 NPM Package: pocket-mocker@1.2.5