BREAKING CHANGE(Smartjson): Require TC39 Stage 3 decorators for @foldDec (use accessor), switch foldDec to initializer-based implementation, improve buffer encode/decode handling, bump dependencies and update docs/tests.

This commit is contained in:
2025-12-10 00:16:00 +00:00
parent acf8cea099
commit 6fe5112bfb
10 changed files with 1889 additions and 1020 deletions

View File

@@ -1 +1,11 @@
# Project Hints
## Decorators
- Uses TC39 Stage 3 decorators (not legacy `experimentalDecorators`)
- The `@foldDec()` decorator requires the `accessor` keyword on properties
- Example: `@foldDec() accessor myProp: string = 'value';`
## Dependencies
- Last upgraded: December 2024
- Uses @push.rocks/smartenv v6.x
- Uses @git.zone/tstest v3.x for testing