Borp: a new runner for node:test with TS support
Hi Folks,
This release features something I've been working on and off for the last few months, mostly adding feature as I needed them: a companion for the node:test
module. This edition also includes all releases in modules I maintain as well as the usual article list.. in case you missed any of them!
Introducing Borp: Combining TypeScript with node:test
When using the new node:test library, I wondered how to integrate it with my TypeScript flow. However, I was baffled by the options. So, I had to build something new!
Borp is a new runner for the node:test
library. It combines support for code coverage and typescript pre-compilation while avoiding most overhead. It's the perfect testing companion for Node.js.
A few other useful libraries:
- tspl - test planner for node:test
- snap - snapshot testing for node:test
- github.com/molow/reporters - collection of reporters for node:test
Node.js HTTP clients showdown!
Last week, I hosted a Platformatic masterclass exploring HTTP Clients, specifically looking at: Tackling key HTTP client dilemmas, namely analysis paralysis, choosing between libraries, and addressing unexpected breakages Benchmarking Fetch, Undici, and Axios Platformatic Client.
You can access the slides here by submitting the form.
Articles
- The origins of the Idle Scan - antirez
- Announcing WinterJS
- Eigensolutions: composability as the antidote to overfit • Lea Verou
- My problem with tech influencers
- Managing Node.js Processes
- "Sorry, I Need A TypeScript Playground In Order To Help"
- Creating montages with ImageMagick
- Why Should You (Or Anyone) Become An Engineering Manager?
- When "Everything" Becomes Too Much: The npm Package Chaos of 2024 - Socket
- Questionable Advice: “My boss says we don’t need any engineering managers. Is he right?”
- InVision design collaboration services shutdown | Inside Design Blog
- Amazon's Silent Sacking
- New Open Source Standard Brings Consistency to Webhooks
- Reducing the cost of string serialization in Node.js core
- Express.js Spam PRs Incident Highlights the Commoditization of Open Source Contributions - Socket
- Globally Distributed Object Storage with Tigris
- Perf regressions in MySQL from 5.6.21 to 8.0.36 using sysbench and a small server
- GitHub - electric-sql/pglite: PGlite - Postgres in WASM
- Building a Fly.io-like Scheduler Part 2: Resource Requirements and Multi-Region
- Node.js 2023 Year in An Article
Releases
- @fastify/auth v4.6.0 improve typing to allow custom request and reply.
- fastify v4.26.1 fixes a regression introduced by avvio v8.3.0.
- fastify-cli v6.1.1 adds missing
c8
dependency. - @fastify/secure-session v7.2.0 set missing key expect error.
- @fastify/swagger-ui v3.0.0 reduces the package size by removing source maps.
- @matteo.collina/snap v0.2.0 adds types.
- async-cache-dedupe v2.1.0 only use
setImmediate
if it is defined and it has support for invalidation of redis invalid references. - close-with-grace v1.3.0 adds support for a custom logger.
- pino v8.19.0 many improvements to our browser version.
- @fastify/websocket v9.0.0 adds
injectWS()
to easily tests websocket apps. - @fastify/view v9.0.0 async flow control.
- light-my-request v5.11.1 fixes a tiny bug on types.
- @fastify/vite v6.0.0 changes the call signature of
reply.render()
from positional to an options object. v6.0.1 and v6.0.2 fix hot module reloading fix. v6.0.3 removepeerDependencies
as it was problematic. - @fastify/vue v0.4.0 support for
@fastify/vite
v0.6.0. - @fastify/react v0.4.0 support for
@fastify/vite
v0.6.0. - @fastify/htmx v0.2.0 allows for decorators and lifecycle hooks in pages. v0.4.0 fixes client side imports of CSS.
- @fastify/auth v4.6.1 fixes composite auth OR.
- @fastify/awilix v5.1.0 adds support for the
strictBooleanEnforced
option.
Events
- "Building Robust Applications at Speed with Fastify & Platformatic" - 21st of March - Online Sign up here
- "The Alleged 'End' of Node.js is Much Ado About Nothing" - CityJS London - 5th of April - Buy your ticket here.