Skip to content

Conversation

@rvagg
Copy link
Collaborator

@rvagg rvagg commented Oct 20, 2025

Node.js 25 became "current" and our CI is now testing it. We now have a failure because "localStorage" is now a thing in Node.js but it's not properly enabled without the arg. So @typescript/vfs, which in the browser detects a "localStorage" and tries to use it (but previously in Node.js wouldn't find it so wouldn't try) finds an implementation that's incomplete.

This change activates it, so we don't get the error. But we don't really need it, so this can be wound back when we have a fix in vfs or somewhere else in the stack.

Ref: nodejs/node#57666
Ref: microsoft/TypeScript-Website#3449
Ref: microsoft/TypeScript-Website#3450

Node.js 25 became "current" and our CI is now testing it. We now have a failure
because "localStorage" is now a thing in Node.js but it's not properly
enabled without the arg. So @typescript/vfs, which in the browser detects
a "localStorage" and tries to use it (but previously in Node.js wouldn't find
it so wouldn't try) finds an implementation that's incomplete.

This change activates it, so we don't get the error. But we don't really need
it, so this can be wound back when we have a fix in vfs or somewhere else in
the stack.

Ref: nodejs/node#57666
Ref: microsoft/TypeScript-Website#3449
Ref: microsoft/TypeScript-Website#3450
@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Oct 20, 2025
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
synapse-dev 9c9eeb5 Commit Preview URL

Branch Preview URL
Oct 20 2025, 02:03 AM

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedstarlight-llms-txt@​0.6.0791007289100
Addedvite-tsconfig-paths@​5.1.410010010083100
Addedtypedoc-plugin-mdn-links@​5.0.101001008393100
Addedtypedoc-plugin-missing-exports@​4.1.21001008588100
Addedwrangler@​4.43.0981009496100
Addedtypedoc@​0.28.141001009897100

View full report

@rjan90 rjan90 moved this from 📌 Triage to 🔎 Awaiting review in FS Oct 20, 2025
"scripts": {
"dev": "astro dev",
"build": "astro build",
"build": "NODE_OPTIONS=\"--localstorage-file=.astro-localstorage.json\" astro build",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the default?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems the default is no local storage

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah .. we don't actually want local storage, none of this is useful, it's all just a fault in @typescript/vfs that will eventually be ironed out

@rvagg rvagg merged commit 9a03e19 into master Oct 21, 2025
11 checks passed
@rvagg rvagg deleted the rvagg/docs-localstorage branch October 21, 2025 05:56
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to 🎉 Done in FS Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants