TC39 JavaScript Updates, TypeScript 5.7 Beta, Node.js v20.18.0 and more

Welcome to a new edition of “This Week in JavaScript”!

Today, we’ve got some HUGE new updates for the JavaScript language from TC39, Deno 2’s Official Release, TypeScript 5.7 Beta and a lot more, so let’s get right into it!

TC39 Updates: Wha…


This content originally appeared on DEV Community and was authored by James

Welcome to a new edition of "This Week in JavaScript"!

Today, we’ve got some HUGE new updates for the JavaScript language from TC39, Deno 2’s Official Release, TypeScript 5.7 Beta and a lot more, so let’s get right into it!

TC39 Updates: What's Coming to JavaScript?

The recent TC39 meeting in Tokyo brought some great updates that will make working with JavaScript even better. JavaScript features go through six different "stages" before becoming available, and here are some highlights:

Iterator Helpers: Just reached stage 4! These will make handling large data sets a breeze, adding more tools to process data.

Import Attributes & JSON Modules: This update will make importing JSON files smoother, improving performance and flexibility.

Promise.try: Now in stage 4, it simplifies error handling in promises, reducing the need for extra code.

Other cool updates include Math.sumPrecise and Shared Structs, both aimed at enhancing JavaScript's efficiency.

Deno 2 Official Release

Deno 2 just dropped, and it's packed with new features! Built to simplify JavaScript and TypeScript development, Deno 2 is now backward compatible with Node.js, which means you can run your existing Node projects smoothly.

Some standout features include:

90% faster package manager: With a hot cache, Deno’s package manager is much quicker than npm, so no more waiting around for installs.

Workspaces and Monorepos: Managing large projects is now easier, especially when working with both Deno and Node.

JSR (JavaScript Registry): Makes sharing TypeScript modules across environments seamless.

TypeScript 5.7 Beta

TypeScript 5.7 Beta has landed, bringing with it some helpful updates:

New check for never-initialized variables: A handy feature to catch bugs early.

Path rewrites for relative imports: Simplifies building and running code across Deno, Bun, and Node.js.

TypeScript 5.7 is nearly feature-stable, so expect bug fixes and performance improvements in the final release.

New Tools and Releases

Bun v1.1.30: Now supports bundling multiple CSS files, introduces a new bun publish command, and offers faster startup times.

Node.js v20.18.0: Features experimental network inspection, helping you monitor network activity in real time.

DOCX 9.0: Allows easy generation and editing of Word files via JavaScript or TypeScript.

TinyJS: A lightweight library for DOM manipulation, perfect for simplifying HTML elements in your projects.

And that's it for the third issue of "This Week in JavaScript"!

Thanks for tuning in.

Feel free to share this newsletter with a fellow developer, and make sure you're subscribed to get notified about the next issue.

Until next time, happy coding!

References

TC39 Updates

Deno 2

TypeScript 5.7 Beta

Bun v1.1.30

NodeJS v20.18.0

DOCX 9.0

TinyJS


This content originally appeared on DEV Community and was authored by James


Print Share Comment Cite Upload Translate Updates
APA

James | Sciencx (2024-10-13T17:00:00+00:00) TC39 JavaScript Updates, TypeScript 5.7 Beta, Node.js v20.18.0 and more. Retrieved from https://www.scien.cx/2024/10/13/tc39-javascript-updates-typescript-5-7-beta-node-js-v20-18-0-and-more/

MLA
" » TC39 JavaScript Updates, TypeScript 5.7 Beta, Node.js v20.18.0 and more." James | Sciencx - Sunday October 13, 2024, https://www.scien.cx/2024/10/13/tc39-javascript-updates-typescript-5-7-beta-node-js-v20-18-0-and-more/
HARVARD
James | Sciencx Sunday October 13, 2024 » TC39 JavaScript Updates, TypeScript 5.7 Beta, Node.js v20.18.0 and more., viewed ,<https://www.scien.cx/2024/10/13/tc39-javascript-updates-typescript-5-7-beta-node-js-v20-18-0-and-more/>
VANCOUVER
James | Sciencx - » TC39 JavaScript Updates, TypeScript 5.7 Beta, Node.js v20.18.0 and more. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/13/tc39-javascript-updates-typescript-5-7-beta-node-js-v20-18-0-and-more/
CHICAGO
" » TC39 JavaScript Updates, TypeScript 5.7 Beta, Node.js v20.18.0 and more." James | Sciencx - Accessed . https://www.scien.cx/2024/10/13/tc39-javascript-updates-typescript-5-7-beta-node-js-v20-18-0-and-more/
IEEE
" » TC39 JavaScript Updates, TypeScript 5.7 Beta, Node.js v20.18.0 and more." James | Sciencx [Online]. Available: https://www.scien.cx/2024/10/13/tc39-javascript-updates-typescript-5-7-beta-node-js-v20-18-0-and-more/. [Accessed: ]
rf:citation
» TC39 JavaScript Updates, TypeScript 5.7 Beta, Node.js v20.18.0 and more | James | Sciencx | https://www.scien.cx/2024/10/13/tc39-javascript-updates-typescript-5-7-beta-node-js-v20-18-0-and-more/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.