John-David Dalton's Avatar

John-David Dalton

@jddalton

Lodash creator • sometimes TC39 delegate • protecting supply chains at https://Socket.dev • Ex (Bun, Salesforce, Node core, Electron WG, Microsoft)

1,114
Followers
134
Following
55
Posts
04.11.2024
Joined
Posts Following

Latest posts by John-David Dalton @jddalton

Post image

One bit that's worth emphasizing more on the new streams api discussion is the absolute cost of the current web streams model. Node.js' web streams impl has never been perf optimized but 90x faster is still ... something ...

27.02.2026 17:24 👍 9 🔁 2 💬 1 📌 0
Preview
We deserve a better streams API for JavaScript The Web streams API has become ubiquitous in JavaScript runtimes but was designed for a different era. Here's what a modern streaming API could (should?) look like.

After implementing web streams in multiple runtimes, supporting them for years, talking with other implementers, dealing with issues... I think it's well past time we talked about something better blog.cloudflare.com/a-better-web...

27.02.2026 14:14 👍 83 🔁 29 💬 5 📌 4

🚀 Coming in the next version of tsdown: built-in Node.js SEA (Single Executable Applications) support!

Now you can bundle your JS apps into a standalone executable with a single command:

tsdown --exe

26.02.2026 05:48 👍 87 🔁 13 💬 4 📌 0
Post image

Really cool to see @npmjs.bsky.social featuring more security information on package pages, including a link to Socket's analysis! 🤩

Here's what you'll find when you click through →

socket.dev/blog/socket-... #NodeJS #JavaScript

19.02.2026 03:13 👍 9 🔁 4 💬 0 📌 1

Excited that @socket.dev has joined @openjsf.org!

Code security is more important than ever in the AI coding and agentic era! We're doing our part to help.

19.02.2026 20:37 👍 5 🔁 2 💬 0 📌 0
Post image

🎉 We’re thrilled to welcome @socket.dev as our newest Silver member.

Socket is doing critical work to secure the JavaScript ecosystem by helping developers identify and prevent supply chain risks. We're excited to collaborate and make open source safer for everyone! 🛡️💻

openjsf.org/blog/socket-...

19.02.2026 16:02 👍 23 🔁 6 💬 0 📌 1
Preview
Socket Joins the OpenJS Foundation - Socket Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecos...

We're excited to announce that Socket is joining the @openjsf.org! Proud to support the #JavaScript ecosystem alongside so many great projects and contributors.

socket.dev/blog/socket-...

19.02.2026 21:04 👍 17 🔁 5 💬 0 📌 1
Preview
Node.js — Chalk to Node.js util styleText Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

New Node.js codemod ✨ Migrate from Chalk to Node.js util styleText nodejs.org/en/blog/migr...

02.02.2026 15:34 👍 81 🔁 14 💬 0 📌 0

"Security work is emotionally expensive and invisible, and sharing it makes it sustainable." - @ulisesgascon.com

Many thanks to @jddalton.bsky.social, @jordan.har.band, and @ulisesgascon.com for their insights on maintaining Lodash and all the hard work put into reviving the project. 💚

31.01.2026 03:51 👍 12 🔁 7 💬 0 📌 1
Preview
Virtual File System for Node.js by mcollina · Pull Request #61478 · nodejs/node A first-class virtual file system module (node:vfs) with a provider-based architecture that integrates with Node.js's fs module and module loader. Key Features Provider Architecture - Extensi...

TIL there's ongoing work to add a native virtual file system (VFS) to Node.js!! Yes please!!! 😱🤩

github.com/nodejs/node/...

@nodeland.dev you are a hero!

29.01.2026 16:49 👍 94 🔁 18 💬 6 📌 0

New blog post on the journey of the new --build-sea flag and how SEA injection works

joyeecheung.github.io/blog/2026/01...

26.01.2026 22:27 👍 36 🔁 12 💬 2 📌 0
Preview
require(esm) in Node.js: from experiment to stability More than a year ago, I set out to revive require(esm) in Node.js and landed an experimental implementation. After a lot of iteration and battle-testing, require(esm) is now unflagged across all suppo

Finished two retrospective blog posts on the journey of require(esm) before 2025 ends:

joyeecheung.github.io/blog/2025/12...

joyeecheung.github.io/blog/2025/12...

30.12.2025 19:04 👍 85 🔁 22 💬 2 📌 1
Preview
I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in 4.5 hours I wrote about JustHTML yesterday—Emil Stenström’s project to build a new standards compliant HTML5 parser in pure Python code using coding agents running against the comprehensive html5lib-tests testi...

I ported a Python library implementing a full HTML5 parser to JavaScript using GPT-5.2 and Codex CLI in 4.5 hours, and decorated for Christmas and watched Knives Out while I was doing it simonwillison.net/2025/Dec/15/...

16.12.2025 00:37 👍 152 🔁 18 💬 8 📌 10

No this is normal.

13.12.2025 21:55 👍 6 🔁 0 💬 0 📌 0

This was like double and tripling down. Perf fight are my favorite 🍿

10.12.2025 15:42 👍 3 🔁 0 💬 0 📌 0

I just published a new blog post: "State of URL parsing performance in 2025". I hope this answers all of @bagder.mastodon.social.ap.brid.gy's concerns. www.yagiz.co/state-of-url...

09.12.2025 18:36 👍 11 🔁 2 💬 5 📌 1

"Compacting conversation" is 2025 speak for "time to get some coffee"

03.12.2025 13:21 👍 0 🔁 1 💬 0 📌 0
Post image

🚀 Day 2 of Socket Launch Week:

Today we’re introducing a major shift in how developers fix vulnerabilities: Socket Certified Patches.
One-click, safe-by-design remediation for vulnerable dependencies.

18.11.2025 19:39 👍 4 🔁 3 💬 1 📌 0
Video thumbnail

🚀 Day Two of Socket Launch Week!

We’re launching @socket.dev Certified Patches—a new way to eliminate vulnerabilities instantly without upgrading your package versions or pulling in risky new code.

Tiny, human-reviewed fixes that give teams a clean path to zero exploitable CVEs.

18.11.2025 20:03 👍 9 🔁 3 💬 1 📌 0

🚀 pnpm v10.21 is out!
This release introduces two powerful new security & compatibility features:
1️⃣ Automatic Node.js runtime installation for dependencies
2️⃣ Configurable trust policy for detecting supply-chain downgrades

🧵👇

10.11.2025 15:18 👍 57 🔁 9 💬 1 📌 3

"Let me use sed" is the new "Hold my beer"

03.11.2025 12:39 👍 5 🔁 0 💬 1 📌 0
Post image

Lodash is entering a new chapter 📖 With investment from @sovereign.tech the project is getting key updates for security, modernization, and community-led governance.

Details: hubs.la/Q03NrdfR0

14.10.2025 13:07 👍 10 🔁 2 💬 1 📌 1
Preview
Introducing Socket Firewall: Free, Proactive Protection for ... Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain atta...

Introducing Socket Firewall: free, proactive protection for your software supply chain
@dale.link @socket.dev
socket.dev/blog/introdu...

#ECMAScript #JavaScript

07.10.2025 02:22 👍 8 🔁 5 💬 0 📌 0
Preview
Socket Integrates With Bun 1.3’s Security Scanner API - Sock... Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local de...

🚀 Socket now integrates with Bun 1.3’s new Security Scanner API! @bun.sh users can now protect their projects from malicious packages, typosquatting, & other supply chain attacks. Great to see Bun moving fast to protect devs with this new API!

socket.dev/blog/socket-...

10.10.2025 23:08 👍 2 🔁 3 💬 0 📌 0
Preview
Ongoing Supply Chain Attack Targets CrowdStrike npm Packages... Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Halud" supply chain attack that previously hit Tinycolor and dozen...

🚨 Update: The "Shai-Hulud" supply chain attack has expanded to nearly 500 trojanized npm packages, including several from CrowdStrike, all using the same malware first seen in Tinycolor.

Full details and package list: socket.dev/blog/ongoing... #NodeJS #JavaScript

16.09.2025 18:15 👍 31 🔁 15 💬 1 📌 5
Preview
pnpm 10.16 Adds New Setting for Delayed Dependency Updates -... pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.

After recent npm supply chain attacks, @pnpm.io 10.16 adds a setting for delayed dependency updates.

Tools like Taze and npm-check-updates are testing similar “maturity” options, hinting at a cautious new trend in #JavaScript package management.

socket.dev/blog/pnpm-10... #NodeJS

15.09.2025 18:28 👍 18 🔁 8 💬 0 📌 2

In the past week "minimumReleaseAge" was added to pnpm 10.16.0 and also "maturity-period" added to taze 19.6.0 🙌

13.09.2025 14:20 👍 3 🔁 1 💬 0 📌 0
Preview
Release pnpm 10.16 · pnpm/pnpm Minor Changes There have been several incidents recently where popular packages were successfully attacked. To reduce the risk of installing a compromised version, we are introducing a new settin...

pnpm v10.16.0 adds "minimumReleaseAge", a setting for defining how long a version has to have been published before pnpm will install it.

A nice countermeasure against accidental installs of short-lived compromised packages before they get taken down. Not a 100% fix, but a great additional step!

12.09.2025 22:49 👍 198 🔁 64 💬 8 📌 6
pnpm 10.16 Minor Changes
12.09.2025 00:00 👍 0 🔁 1 💬 0 📌 0
Post image

🚨 Using setImmediate() in your Node.js apps? You might be creating silent performance bombs that only explode in production.

Our latest webinar breaks down why this "simple" async function is one of the most misunderstood tools in Node.js 🧵👇

22.08.2025 15:59 👍 5 🔁 1 💬 1 📌 0