Andrew Jarrett
@ahrjarrett.bsky.social
📤 13
📥 11
📝 14
Working on
https://github.com/traversable/schema
pinned post!
Writing tests is hard, and I'm lazy. I'd rather write a few invariants, and let fast-check fuzz test the rest. That's why I built @traversable/valibot-test. Here it is in action:
2 months ago
4
14
5
So close...
about 2 months ago
1
0
0
Here's are some resources on property testing/fuzz testing that I've been reading lately: - Property testing in Elixir:
propertesting.com
- How to identify properties/invariants:
fsharpforfunandprofit.com/series/prope...
- Using fast-check with Cypress:
www.youtube.com/watch?v=E42T...
Any others?
about 2 months ago
0
0
0
Interesting article by
@chrispenner.ca
about why monads aren't the solution to everything, and a functor I've never crossed paths with called selective applicatives. Still absorbing it, but great read as always. Check it out if that's your thing.
chrispenner.ca/posts/expres...
loading . . .
Monads are too powerful: The Expressiveness Spectrum
Monads are a useful tool, but what costs do we pay for their expressive power?
https://chrispenner.ca/posts/expressiveness-spectrum
about 2 months ago
0
3
1
This afternoon I was listening to
@typescript.fm
and was surprised to hear @traversable/valibot mentioned 🤩 As a long time fan of the podcast, this was super fun.
about 2 months ago
1
1
1
reposted by
Andrew Jarrett
Matthew Miller
about 2 months ago
This is great news! GitHub will require use of passkeys for 2FA when publishing to NPM. What a huge step up in security compared to other phishable 2FA methods that were historically supported 🎉
github.blog/security/sup...
loading . . .
Our plan for a more secure npm supply chain
GitHub is strengthening npm's security with stricter authentication, granular tokens, and enhanced trusted publishing.
https://github.blog/security/supply-chain-security/our-plan-for-a-more-secure-npm-supply-chain/
0
34
15
What if deep object comparisons were 10x more performant than they've ever been in JavaScript? Just re-use your Valibot, ArkType, Zod, or TypeBox schema. It even works with JSON Schema. Run the benchmarks yourself:
bolt.new/~/mitata-ej4...
Library:
github.com/traversable/...
loading . . .
about 2 months ago
0
1
0
I also think the implementation is interesting. The workhorse here is the fold function – all 29 libraries are powered by the same abstraction.
about 2 months ago
1
2
0
Just shipped a zod transformer that turns a zod schema into a recursive to/from snake/camel case codec. This release also allows users to provide their own key to/from transforms. Available in @traversable/
[email protected]
. Feedback welcome! cc
@colinhacks.com
loading . . .
about 2 months ago
2
3
0
Writing tests is hard, and I'm lazy. I'd rather write a few invariants, and let fast-check fuzz test the rest. That's why I built @traversable/valibot-test. Here it is in action:
2 months ago
4
14
5
reposted by
Andrew Jarrett
Fabian Hiller
2 months ago
This is one of the coolest
@valibot.dev
utility libraries around! 🔥 It can convert Valibot schemas into stringified TypeScript types. It can also check schemas for equality and clone them. Great job,
@ahrjarrett.bsky.social
! 🪄 Read the full article on
@dev.to
:
dev.to/ahrjarrett/i...
loading . . .
Introducing: @traversable/valibot
A few weeks ago I released a TypeScript library called @traversable/valibot. This post covers what...
https://dev.to/ahrjarrett/introducing-traversablevalibot-j3d
2
17
4
you reached the end!!
feeds!
log in