Redux Toolkit co-maintainer, and creator of schemabenchmarks.dev/ pfp and banner by @popurri_arts he/him previously @EskiMojo14

quoting this to pin it 😎
Fullbody commission for @eskimojo 🐏✨ thank you so much! 💖 #brigitte #mitzi #OverwatchFanart
6
4,938
Now that Schema Benchmarks has been officially released for 7 months, I thought it'd be useful to look at how it's improved over that time, and how it's helped the ecosystem! schemabenchmarks.dev/blog/7-…
2
1
7
3,507
thanks to @dzakh_dev, Schema Benchmarks now measures the typescript performance of libraries! schemabenchmarks.dev/typescr…
Inspired by @ssalbdivad's Attest, I decided to add TS inference comparison to Schema Benchmarks. I really like what @eskimojo built, and I think having an enhanced benchmark like this is underrated for the JavaScript community.
1
1
6
506
as with all of our benchmarks, this is a single aspect of schema performance, and how much it matters is up to you :) the goal of Schema Benchmarks is to transparently benchmark as many aspects as possible, allowing users to make an informed decision for their needs.
1
1
29
(for example, you may care a lot less about bundle size if you're not shipping to the browser)
2
23
eskimojo retweeted
Formisch v1 is finally in RC! 🎉 After a year of long nights, the form library I wish existed when I was building complex forms for my first startup is here. Schema-first. Fully type-safe. Tiny (starts at 2.5 kB). And not just React — it runs on 6 frameworks from one core. Read the announcement and try it today 👇 formisch.dev/blog/formisch-v…
12
19
171
34,638
eskimojo retweeted
SECURITY ADVISORY — TanStack npm packages A supply-chain compromise affecting 42 @tanstack/* packages (84 versions total) was published to npm earlier today at approximately 19:20 and 19:26 UTC. Two malicious versions per package. Status: ACTIVE — packages are deprecated, npm security engaged, publish path being shut down. Severity: HIGH — payload exfiltrates AWS, GCP, Kubernetes, and Vault credentials, GitHub tokens, .npmrc contents, and SSH keys. If you installed any @tanstack/* package between 19:20 and 19:30 UTC today, treat the host as potentially compromised: • Rotate cloud, GitHub, and SSH credentials immediately • Audit cloud audit logs for the last several hours • Pin to a prior known-good version and reinstall from a clean lockfile Detection — the malicious manifest contains: "optionalDependencies": { "@tanstack/setup": "github:tanstack/router#79ac49ee..." } Any version with this entry is compromised. The payload is delivered via a git-resolved optionalDependency whose prepare script runs router_init.js (~2.3 MB, smuggled into each tarball at the package root). Unpublish is blocked by npm policy for most affected packages due to existing third-party dependents. All 84 versions are being deprecated with a SECURITY warning, and npm security has been engaged to pull tarballs at the registry level. Full technical breakdown, complete package and version list, and rolling status updates: github.com/TanStack/router/i… Credit to the security researcher for responsible disclosure.
135
968
3,806
3,921,982
eskimojo retweeted
🚀 Valibot v1.3 is here! ✅ Smarter pipelines with `guard()` for type refinement & `parseBoolean()` for boolish inputs (env vars, forms, query strings). ✅ Result caching via `cache()` / `cacheAsync()` for repeated & async validations. ✅ New validators: `domain()`, `jwsCompact()`, `isrc()` + important compatibility fixes. Huge thanks to @eskimojo, @yslpn and many others for contributing to this release! 🙌 Full details + examples 👉 valibot.dev/blog/valibot-v1.… npm i valibot@latest #Valibot #TypeScript
2
18
104
5,403
eskimojo retweeted
Shoutout for @eskimojo for the implementation and TypeBox for being currently the fastest ⚡️
1
2
506
eskimojo retweeted
🚨 Exciting update! Our Schema Benchmarks OSS project now has a dedicated section for Standard Schema. Check it out and discover how fast your favorite Standard Schema libraries like @valibot, @zodtypes, @arktypeio, @EffectTS_ and more really are! 📈 Which one surprises you the most? 👀 schemabenchmarks.dev/standar… #TypeScript #WebDev #OpenSource #StandardSchema
2
2
27
1,671
Incredibly hyped to announce Schema Benchmarks, a project I've been steadily working on in collaboration with @FabianHiller! It aims to provide a central and transparent resource for many of the metrics that matter for schemas, including bundle size and runtime performance 😄
5
3
21
2,781
@colinhacks excuse the ping, but I'm wondering if this is a bug - I'm just not sure if it's a bug our side or Zod's. based on the docs i wouldn't expect to see locales included in the compiled output 🤔 before compilation: schemabenchmarks.dev/repo/ra… after schemabenchmarks.dev/repo/ra…
1
70
update: my bad! (though i do think this is a mistake that could be made by an end user - i'm curious what about the default export breaks tree shaking)
Replying to @rolldown_rs
an update to this: i noticed a discrepancy between our zod benchmark and zod's docs, namely that we were using a default import and the docs show a namespace import. updating our benchmark to match the docs brought zod down to a much more reasonable 16KB.
49
Our current results, starting with bundle size (compiled with @rolldown_rs): Typia and Valibot lead here, with very similar results (~1.9KB minified + gzipped). Zod brings up the rear, maybe due to its extensive language support. Its mini variant however is far smaller, at 5KB.
3
3
212
an update to this: i noticed a discrepancy between our zod benchmark and zod's docs, namely that we were using a default import and the docs show a namespace import. updating our benchmark to match the docs brought zod down to a much more reasonable 16KB.
70
Now for parsing; where the schema returns a new value. We mark try/catch tests with *, and "abort early" tests with †. Libraries that can abort early (Valibot, Effect, joi) have an advantage with invalid data, and Typebox clocks in slowest, constrasting its validation results.
2
2
197
quick update re: Typebox - it had been slowed down by a feature in v1 that attempts to coerce an invalid value into a valid one. v1.1 now makes that feature opt-in. here's an updated set of results, with a vast improvement in typebox's performance:
147
eskimojo retweeted
🚨 Missed our big announcement yesterday? We launched schemabenchmarks.dev! 🎉 An open-source project comparing top JS schema libraries like @zodtypes, @valibot, @arktypeio, Typia, TypeBox, @EffectTS_ and more. 🧩 Dive into metrics on download time, schema creation, and parsing speed. 🔥 Check it out now and see who's leading the pack: schemabenchmarks.dev/blog/we…
1
12
73
8,602
Replying to @FabianHiller
We'll also aim to expand to other types of benchmarking and comparison - I'm already investigating capturing error messages and traces, inspired by
i ranked some validation libraries this is very official and the results are final
1
3
158
eskimojo retweeted
Proud to have teamed up with @eskimojo on Schema Benchmarks! 🙌 Valibot and Typia neck-and-neck on bundle size (~1.9KB gzipped)—the fight for the smallest bundles is heating up! 🔥 Transparent metrics like these help us all improve—dive in and let us know what you think! schemabenchmarks.dev/
Incredibly hyped to announce Schema Benchmarks, a project I've been steadily working on in collaboration with @FabianHiller! It aims to provide a central and transparent resource for many of the metrics that matter for schemas, including bundle size and runtime performance 😄
4
2
27
1,910
Replying to @FabianHiller
this was also a great opportunity to try out a bunch of new tech - we're currently running on Vite 8 (beta), @tan_stack Start (+ Query + Pacer), and using Oxfmt/Oxlint/TSGo 👀
5
124
To see our results in depth, check out schemabenchmarks.dev/! Reckon we've missed a library, or thought of an improvement to our methodology? We'd love to hear from you! github.com/open-circle/schem… Want to do one better and DIY? Thanks! Give this a read: schemabenchmarks.dev/contrib…
2
117