Team member of @vite.dev and @vitest.dev
- @voidzero.dev (@cloudflare.social)
π Berlin, Germany

@
Team member of @vite.dev and @vitest.dev
- @voidzero.dev (@cloudflare.social)
π Berlin, Germany
happy birthday to @vitest.dev πβ‘
exactly 3 years ago on Dec 4, 2023, v1.0 was released, and testing in the js ecosystem was changed forever
thanks for your hard work @vladimir.berlin & the team π§ͺπ
The pattern cannot be more clear
ECMAScript excitement π
Congrats to IWANABETHATGUY on shipping @tc39.es Stage 3 Import Defer in Rolldown v1.4.0 π
import defer * as ns from "./heavy.js"
await stuff();
ns.property; // heavy.js is eval'd on first access
It's lazy evaluation π
Anthropic published new math on the lattice problems behind post-quantum cryptography. The attacks need quantum computers that don't exist, and runtimes longer than the life of the galaxy. Your encrypted data and Internet connections are still safe. https://cfl.re/4kGfHfR
Less than 2 years since its first release ast-v8-to-istanbul has surpassed original v8-to-istanbul in npm downloads. While new alternatives like Vitest and rstest have adapted ast-v8-to-istanbul, older tools like Jest, c8 and modern web testrunner still output inaccurate V8 coverage with the old one
Finalizing rewrite of AST-aware v8-to-istanbul. This will provide accuracy of Istanbul coverage for V8 coverage reports. I've intentionally kept this tool unopinionated so that it's not strictly tied to just @vitest.dev - it should be usable with Jest, C8, Playwright and node:test too.
The module is evaluated when the export is accessed, so yes!
what if vitest didn't evaluate modules that you don't use in your test?
I recommend trying out github.com/magurotuna/v... π Give us feedback if it helps π
I am also working on a new module runner implementation that supports deferred module initialization which might be useful if you have a huge code base π (but it's not out yet)
Vite 8.4 is out! β‘
π Allow-list file serving for a safer dev server
π Retryable dynamic imports when fetches fail
π¨ Subpath imports in CSS url()
π Duplicate dev server detection
π§© Wasm source phase imports
π§ͺ Experimental bundled dev for SSR
I think generated descriptions are fine as long as they are brief, concise and to the point
autocorrect keeps changing vitest to cutest, and it makes me smile every time
What's blocking you to upgrade to Vue Router 5? (it has no breaking changes) I plan to release v6 before 2027 and discontinue security releases for v4 soon after
I think I accidentally created a honeypot for software supply chain attack bots. I posted that my repo was looking for maintainers, and someone offered to helpβ¦but they had just offered to take over 10 other repos within one minute.
I am planning to have this released as experimental in the next 1-2 weeks. Any feedback is welcome
To protect our critical infrastructure, we have to change centralisation culture. This outage is created by monopoly. The internet is resilient to such outages, because we built decentralisation into networking & email protocols. But those protections disappear when one company runs everything.
@nicolas.dubien.me cooking something for vitest 5.2 that you might be interested in π