Hello JavaScript Enthusiasts!
Welcome to the first issue of "This Week in JavaScript"! In this edition, we'll cover the latest on TypeScript 5.6 and its new ts-blank-space compiler, Bun's experimental support for compiling C code in JavaScript, the release of Fastify v5, Safari 18's Web API enhancements, and ESLint's updated version support policies. Let's dive in!
First up, TypeScript 5.6 was announced last week, and everyone's talking about ts-blank-space! It's a super-fast type-stripping compiler that takes TypeScript and turns it into JavaScript by simply removing type annotations and replacing them with whitespaces.
Why is this exciting?
Overall, ts-blank-space is a solid option for developers looking to speed up their TypeScript compilation process!
Next big news: you can now compile C code in JavaScript, thanks to Bun! Bun v1.1.28 has added experimental support for compiling native C code and then running its functions from JavaScript.
What's the big deal?
While it's not designed for large-scale C projects, this feature is a game-changer for JavaScript developers who want a smoother way to tap into the power of C.
Moving on to Fastify! Fastify v5 has just been released, and it's packed with exciting updates.
What's new?
If you're looking for a high-performance Node.js framework, now's a great time to check out Fastify v5.
If you weren't already aware of the new macOS, iOS, and iPadOS releases, Safari 18 has also been released.
Highlights include:
URL.parse()
, a way to parse URLs which returns null rather than an exception when parsing fails.
These updates mean your web apps will run smoother and more efficiently on Apple devices.
Finally, ESLint has introduced new version support policies to ensure your code stays clean and up-to-date with the latest JavaScript features.
Why does this matter?