Matthieu Sieben
3711454321
Rewrite of aturi tests ( #4815 )
2026-03-28 17:13:57 -07:00
Matthieu Sieben
d0c136cba2
Move PDS code over to @atproto/lex ( #4408 )
2026-03-23 18:10:16 +01:00
bnewbold
3be9c741ce
helpers for rkey and tid syntax; validate rkey at record creation time ( #1738 )
...
* syntax: fix jest config displayName
* syntax: TID validation
* syntax: add recordkey validation
* pds: verify rkey syntax at record creation time
---------
Co-authored-by: dholms <dtholmgren@gmail.com >
2023-12-01 14:28:47 -06:00
bnewbold
c17971a2d8
harden datetime verification ( #1702 )
...
* syntax: add datetime validator (and interop tests)
* syntax: improve datetime normalization
* lexicon: stronger datetime validation (from syntax package)
* syntax: make datetime syntax norm test more flexible
* make fmt
* datetime: docs, normalize and always variant
* bsky replace toSimplifiedISOSafe with normalizeDatetimeAlways
* more rigorous datetime parsing on record creation
* handle negative dates
* syntax: disallow datetimes before year 0010
* syntax: datetime normalization functions validate output
---------
Co-authored-by: dholms <dtholmgren@gmail.com >
2023-11-30 18:19:06 -06:00
bnewbold
abc6cf9ab4
interop test files ( #1529 )
...
* initial interop-test-files
* crypto: switch signature-fixtures.json to a symlink
* syntax: test against interop files
* prettier
* Update interop-test-files/README.md
Co-authored-by: Eric Bailey <git@esb.lol >
* disable prettier on test vectors
---------
Co-authored-by: Eric Bailey <git@esb.lol >
Co-authored-by: dholms <dtholmgren@gmail.com >
2023-09-13 11:23:33 -05:00