NodeJS Official
The Node.js best practices list gets a 2023 update
#496 — July 25, 2023 Read on the Web The Node.js Best Practices List: 2023 Edition — A valuable, long standing resource has been “modernized to 2023 standards” (complete with recommendations of more modern libraries) with lots of work by creator Yoni and an ever growing team of contributors. The Read more…
NodeJS Official
Automating code updates with codemods
#495 — July 18, 2023 Read on the Web Upgrading TypeORM with 1jscodeshift — TypeORM is an ORM that supports both Data Mapper and Active Record patterns, and last year it introduced some breaking changes that left the author of this post facing a lot of updates to be made. Read more…
NodeJS Official
Deno unveils faster, simpler web server API
Deno 1.35, the latest version of the JavaScript/TypeScript/WebAssembly runtime positioned as an alternative to Node.js, stabilizes 1Deno.serve() , a new API that makes it easier to build web servers. The 1Deno.serve() API provides a “fast and convenient” way to create web servers, according to Deno project developers, who announced Deno Read more…
NodeJS Official
Simple tests for dark scenarios
#494 — July 11, 2023 Read on the Web Node v20.4.0 Introduces Mock Timers — The latest release of Node includes a new 1MockTimers API that can make any tests involving time-dependent functionality more reliable and deterministic by mocking 1setTimeout , 1setInterval , 1<a href="https://nodeweekly.com/link/142336/rss">node:timers</a> , and more. Rafael Gonzaga Testing Read more…
NodeJS Official
Deno wants us to ditch CommonJS
#493 — July 4, 2023 Read on the Web RegExp’s 1v Flag with Set Notation and Properties of Strings — The capability of regexes in Node has been turned up a few notches, especially in the support for, and manipulation of, Unicode character sets (for example, you can now do Read more…