Node Chinese Weekly #204 - The Story Behind Node.js Type Stripping Functionality

Node Chinese Weekly #204 - The Story Behind Node.js Type Stripping Functionality

๐Ÿ“ฐ JavaScript & Node.js Weekly Digest

image

---

> This week's highlights:

> - Marco Ippolito shares the behind-the-scenes story of introducing type stripping into Node.js.

> - GitLab details npm supply chain attack mechanics.

> - A complete Node.js error handling guide.

> - Gluegun โ€” a Node CLI toolkit for faster app development.

---

๐Ÿ”ฅ Hot Topics

๐Ÿ“œ The Birth of Node.js Type Stripping

Marco Ippolito (Node.js TSC member) recounts the journey to make type stripping a stable Node.js feature.

Heโ€™s now working on the experimental `--experimental-config-file`.

๐Ÿ”— Read the full article

image

---

โš ๏ธ Shai Hulud v2.0 โ€” npm Supply Chain Attack

The notorious โ€œwormโ€ attack on npm has evolved. GitLabโ€™s analysis reveals:

  • Infected packages run malicious code post-install.
  • Steal authentication keys from GitHub/npm.
  • Auto-publish compromised packages.
  • Rapid, self-propagating spread.

๐Ÿ”— GitLabโ€™s detailed breakdown

image

๐Ÿ’ก Detection tools: Wiz, Snyk, Socket, Aikido, HelixGuard, and Corridorโ€™s Shai Hulud 2.0 scanner.

๐Ÿ”— Wiz analysis

image

---

๐Ÿ’ก TypeScript Default Immutability Experiment

"What if TypeScript values were immutable by default?" โ€” Evan Hahn explores potential benefits.

๐Ÿ”— Read the experiment

image

---

๐Ÿ“„ Complete Node.js Error Handling Guide

Ayooluwa Isaiah (Honeybadger) covers best practices for comprehensive error handling.

๐Ÿ”— Read the guide

image

---

โšก News Flash

  • Node.js v20.19.6 (LTS) โ€” Updates root certs, OpenSSL, and deprecates HTTP/2 priority hints.
  • ๐Ÿ”— Release notes
  • AWS Lambda now supports Node.js 24 (`nodejs24.x`) until April 30, 2028.
image
  • ๐ŸŽค TypeScript.fm Podcast โ€” Daniel Rosenwasser & Jake Bailey discuss TypeScript 6 & 7.
  • ๐Ÿ”— Listen here
  • โ–ถ๏ธ Node.js Automated Release Workflow โ€” Behind-the-scenes look.
  • ๐Ÿ”— Read more
image
image

---

๐Ÿ›  Code & Tools

๐Ÿš€ Gluegun โ€” Node CLI App Toolkit

Prebuilt templates, subcommands, argument parsing, colored output โ†’ quick CLI app deployment.

๐Ÿ”— GitHub Repo

image

---

๐Ÿ“ฆ Handy Developer Utilities

  • tshy v3.1 โ€” Create hybrid ESM/CommonJS modules. More info
  • Glob v13 โ€” High-accuracy shell-style matching. Repo link
image
image
  • is-online v12 โ€” Network connectivity checker. Repo link
  • open v11 โ€” Cross-platform opener for links, files, executables. Repo link
image
image
  • jsonld.js v9 โ€” Read/write JSON-LD. Repo link
image

---

๐ŸŒ Ecosystem Updates

image

Photo credit: Rob Palmer

  • TC39 met in person. Progress on:
  • Iterator order control
  • Awaited dictionary promises
  • Joint iteration
  • Iterator concatenation
  • TypedArray subarray find ops
  • ๐Ÿ”— Proposal link
image

---

๐ŸŽฎ Angular v21

Fun retro gameโ€“style showcase of new features.

๐Ÿ”— Watch here

image

---

๐Ÿ“Š State of React Survey 2025

React devs, share your feedback.

๐Ÿ”— Take the survey

image

---

๐Ÿ“— WebAssembly from the Ground Up

From zero โ†’ writing a compiler in JS. Free 30-page preview.

๐Ÿ”— Book link

image

---

๐ŸงŸ AWS CodeCommit Returns

AWS revives its private Git repo service.

๐Ÿ”— Read post

image

---

๐Ÿ“ฆ Version Releases

  • Prisma v7.0 โ€” ORM lighter Rust-free implementation.
  • Mongoose v9.0 โ€” MongoDB ODM major update.
  • exiftool-vendored.js v33.4 โ€” Fast ExifTool for photo metadata.
  • Node File Trace v1.1 โ€” Vercelโ€™s precise file tracer.
  • Link Preview JS v4.0 โ€” OpenGraph-based link info reader.
  • node-redis v5.10 โ€” Adds new Redis/Valkey commands.
  • cron-schedule v6.0 โ€” Cron parsing without dependencies.
  • Wasp v0.19 โ€” Full-stack Node + React + Prisma framework.
  • pnpm v10.23 โ€” Efficient package manager update.

---

This rewrite preserves all original links and images while improving readability with headings, grouping, and bold emphasis. If you want, I can also add a Quick Links section at the top so readers can jump straight to stories. Would you like me to do that?

Read more

Translate the following blog post title into English, concise and natural. Return plain text only without quotes. ๅ“ˆไฝ›ๅคงๅญฆ R ็ผ–็จ‹่ฏพ็จ‹ไป‹็ป

Harvard CS50: Introduction to Programming with R Harvard University offers exceptional beginner-friendly computer science courses. Weโ€™re excited to announce the release of Harvard CS50โ€™s Introduction to Programming in R, a powerful language widely used for statistical computing, data science, and graphics. This course was developed by Carter Zenke.