#465 — December 1, 2022
The Advent of Code 2022: 25 Days of Code Challenges — If you have a little time each day to do some programming puzzles, the Advent of Code is always fantastic and now in its eighth year. There’s a sub-Reddit where people share and discuss their solutions and I’ve picked up lots of tricks from looking at other people’s approaches. Day one should take up less than 10 minutes of your time if you just want to get a feel for it.
The Advent of Code
Node v19.2.0 (Current) Released — A minor update with changes to the daylight savings rules for Fiji and Mexico, a V8 version bump, the enabling of a fast path for UTF-8 encoding (which has some promising microbenchmark results), and steps towards implementing the Web File API (some example usage code here.)
Ruy Adorno
Memetria: Secure, Scalable, Full-Featured Redis 7 Hosting — The latest Redis features, instrumented and scaled with the tools teams need as they grow.
Memetria sponsor
Electron 22.0 Released, Plus Other Electron News — The long standing cross platform desktop framework continues to evolve. v22 jumps up to Chromium 108 and Node 16.17.1. The UtilityProcess API is a new feature. There are also some other Electron related updates to be aware of:
The end of support for Windows 7, 8, and 8.1 as of Electron 23. v22 is the final version to support Windows < 10.
Electron Forge 6 has been released. Forge is an official tool for packaging and distributing Electron apps. 6.0 is a total rewrite and now considered the official ‘batteries included build pipeline’ for Electron apps.
The Electron project is going quiet for December so the team can recharge their batteries for 2023 (or maybe to do Advent of Code? ;-))
OpenJS Foundation
IN BRIEF:
Congratulations to NearForm and Fastify’s Rafael Gonzaga who is the newest Node.js TSC member – may he commit much to the official Node repo 😁
This year’s State of JavaScript survey is open. You don’t need to sign up to take it this year and you might even learn about some new JavaScript features from it..
Tierney Cyren noticed there’s an open job listing at GitHub for working on the npm CLI.
Deploying Node Apps to AWS: Building an Automated CI/CD Pipeline — You’d need to use all your fingers and toes to count the ways to deploy apps to AWS nowadays, but here’s one reasonably tidy way using CodeBuild and CodeDeploy and triggered by pushes to a git repo.
Rishabh Rawat
NPM Security: Preventing Supply Chain Attacks — Learn how to prevent supply chain attacks and other security threats using Snyk’s guide to npm security practices.
Snyk sponsor
A Beginner’s Guide to Parsing (and Creating) XML with Node
Geshan Manandhar
🛠 Code & Tools
vm2: A Sandbox for Running Untrusted Node Code — A locked down, heavily restricted sandbox build around Node’s internal vm module that lets you add a timeout, limit access to built-in modules as you see fit, and more. Lots of code samples to check out here.
Patrik Simek
EventEmitter3 5.0: A High Performance Event Emitter — API compatible with Node’s own emitter but with tweaks for extra performance.
Primus
gql-query-builder: Simple GraphQL Query Builder — A function to generate GraphQL queries from plain old JavaScript objects.
Atul Yadav
Dynaboard: The Pro-Code Web App Builder Made for Developers
Dynaboard sponsor
Discord.js 14.7: A Library for Interacting with Discord’s API — A way to write bots or similar tools for the wildly popular Discord chat system.
Amish Shah
AWS Lambda Powertools for TypeScript — A suite of utilities for working with AWS Lambda. Includes tracing, structured logging, and custom metric creation.
Amazon Web Services – Labs
Restify 10.0
↳ Middleware-oriented REST API framework.
🐝 Bee Queue 1.5
↳ Redis-backed robust job/task queue.
oclif 3.3
↳ CLI dev framework, built by Salesforce.
AdminJS 6.7
↳ Front-end admin panel for Node apps.
Foal 3.1
↳ Full-featured Node.js framework.
Light My Request 5.7
↳ Fake HTTP request/response injection library.
Slonik 33.0.4
↳ Type-safe PostgreSQL client.
💻 Jobs
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
Hired
Become a Senior JS/TS Developer for a Leading Rich Text Editor — Take the next step in your career and help us migrate CKEditor 5 to TypeScript! Develop the software used by millions of users 🌎
CKEditor