#557 — November 26, 2024 |
|
Deno v. Oracle: Cancelling the JavaScript Trademark — Did you know Oracle formally owns the ‘JavaScript’ trademark? There have been a few efforts to change this over the years (most recently via this open letter) but Oracle isn’t listening. The Deno team has now formally filed a petition to cancel the trademark which Deno claims is fradulent because Oracle used screenshots of Node.js, a project Oracle doesn’t even own, as evidence of the trademark’s use. Deno |
A Complete Introduction to SQLite — Join Brian Holt for this video course and get to grips with the world's most widely-deployed database. You'll create Node.js app with SQLite — learning about queries, table management, optimization, and much more. Frontend Masters sponsor |
Node.js 22 Runtime Now Available in AWS Lambda — AWS’s popular serverless platform, which initially launched with only Node.js support, has just turned ten, and this week adds official support for the latest Node LTS release too. Julian Wood (AWS) |
△ Vercel has added a Node.js 22 runtime for builds and functions this week too. |
IN BRIEF:
|
Exploring JavaScript Symbols — Symbols were a new ‘quirky little primitive’ (as Trevor puts it) that arrived with ES6 ten years ago, but they continue to be poorly understood. Trevor boils them down really well, including a little side quest into the likely-to-be-deprecated ‘species.’ Trevor I. Lasn |
Avoiding False Positives in Node.js Tests — Specifically, avoiding loose/unstrict equality checks, overly general assertions, shallow equality, and misunderstandings over what assertions are doing. Greg Gorlen |
📄 From Gatsby to Eleventy – Moving from a React framework to a Node.js static site generation approach. Matt Steele 📄 Build Well-Documented and Authenticated APIs in Node with Fastify Julián Duque 📄 How to Code-Sign and Notarize an Electron Application for macOS Farhan CK 📄 How to Prerelease an npm Package Scott Vandehey |
🛠 Code & Tools |
Math.js 14.0: An Extensive Math Library for Node and Browsers — Work with complex numbers, fractions, units, matrices, symbolic computation, etc. A long standing library now, but continuing to get frequent updates. GitHub repo. Jos de Jong |
🌐 country-to-iso: Convert Country Names and Codes into ISO Codes — Unexciting, but incredibly useful when you’re bombarded by inconsistent country names and you need to use standardized ISO 3166-1 Alpha 2 or 3 references (e.g. Germany is DE or DEU, Angola is AO or AGO). James Jackson |
Automate Embedding Creation and Syncing in Postgres with pgai Vectorizer — 🚀 pgai Vectorizer automates embedding creation and syncing in Postgres with one SQL command—keeps embeddings updated, no tools needed. Timescale sponsor |
Better SQLite3 11.6: Fast and Simple SQLite3 Library — We remain big fans of this easy way to get running with vanilla SQLite3 because it just makes everything simpler. It has good docs too. v11.6 bumps us up to SQLite 3.47.1 (which is a bigger release than the version number implies). Joshua Wise |
🔥 0x 5.8: Single-Command Flamegraph Profiling for Node — A tool that can profile and generate an interactive flamegraph for a Node process in a single command. David Mark Clements |
Crawlee 3.12: Web Scraping and Browser Automation Library — A mature library to handle Web crawling and scraping while appearing ‘human-like’ and supporting multiple switchable backends, such as to support JavaScript rendering on sites that demand it. Apify |
DOMPurify 3.2: A Fast, Tolerant XSS Sanitizer for HTML — Supports all modern browsers and is heavily tested, but also works in Node thanks to jsdom. There’s a live demo here. Cure53 |
|
|