Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON storage limit utilities #14

Merged
merged 33 commits into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
887021c
Add JSON storage limit utilities
david0xd Jun 24, 2022
95da527
Add handling for string length depending on encoding
david0xd Jun 27, 2022
5a38ae7
Add handling for number sizes
david0xd Jun 27, 2022
b3d204b
Refactor code and add more tests
david0xd Jun 28, 2022
f4f38e4
Add functional code improvements and tests
david0xd Jun 28, 2022
a354cf9
Add edge case handling and more complex tests
david0xd Jun 29, 2022
6655545
Refactor code, change approaches and improve tests
david0xd Jun 30, 2022
80fdac7
Minor code refactoring and additional test
david0xd Jun 30, 2022
0634e04
Add one more unit test
david0xd Jun 30, 2022
0b5444f
Refactor tests and test data
david0xd Jun 30, 2022
e884151
Add skip feature for JSON size calculation
david0xd Jun 30, 2022
9fc439b
Add algorithm improvements and new test data
david0xd Jun 30, 2022
a1c2265
Minor refactoring of calculateStringSize function
david0xd Jul 4, 2022
7fd7f44
Minor refactoring of isASCII function
david0xd Jul 4, 2022
72fe7a3
Minor refactoring of skip sizing feature
david0xd Jul 4, 2022
0abc592
Add unit tests for circular structures
david0xd Jul 4, 2022
c8db2f6
Add test improvement with escape characters
david0xd Jul 4, 2022
87484b2
Code refactoring
david0xd Jul 4, 2022
ee6d28f
Code refactoring & improvements
david0xd Jul 5, 2022
a573df7
Small code refactoring (review answer)
david0xd Jul 5, 2022
537e236
Another minor code refactoring (review answer)
david0xd Jul 5, 2022
a053094
Remove useless comment
david0xd Jul 5, 2022
e16f51e
Add more tests for serialization checks of functions and symbols
david0xd Jul 5, 2022
2237edd
Add specific approach for handling Date objects
david0xd Jul 5, 2022
b0d8b6a
Add ECMA TC39 (test262) test scenarios and improve algorithm
david0xd Jul 7, 2022
b87f459
Add another batch of ECMA TC39 (test262) test scenarios
david0xd Jul 7, 2022
1c1586b
Fix types in tests
david0xd Jul 7, 2022
6913a2c
Add optimized check for circular structures
david0xd Jul 8, 2022
31c7da6
Change approach for circular object detection
david0xd Jul 11, 2022
484a376
Improve circular object detection
david0xd Jul 11, 2022
50f41c2
Improve Date object sizing
david0xd Jul 11, 2022
eb20c53
Change type-check approach (if-else)
david0xd Jul 12, 2022
b6482a7
Add explanation comments for circular structure detection and improve…
david0xd Jul 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading