Skip to content

Update Node.js to v24.18.1 - #1760

Open
sbc100 wants to merge 1 commit into
mainfrom
update-node-24.18.1
Open

Update Node.js to v24.18.1#1760
sbc100 wants to merge 1 commit into
mainfrom
update-node-24.18.1

Conversation

@sbc100

@sbc100 sbc100 commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Update the version of Node.js shipped with emsdk to the latest LTS (v24.18.1).

One additional change here is that since #1761 we can now have a different activated_path for windows to other platforms. This allows us to use the upstream node archives without modifying the windows versions (they ship node.exe at the top level and not under bin/).

Fixes: #1758

@sbc100
sbc100 requested review from dschuff, juj and kripken July 31, 2026 00:23
@sbc100

sbc100 commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator Author

I think I'll leave this open until next week at least to give @dschuff and @juj a chance to comment.

@sbc100
sbc100 force-pushed the update-node-24.18.1 branch from f25df09 to d9a32e4 Compare August 3, 2026 05:45
@sbc100
sbc100 changed the base branch from main to generic-platform-attrs August 3, 2026 05:46
@sbc100
sbc100 force-pushed the update-node-24.18.1 branch from d9a32e4 to cd8f8a4 Compare August 3, 2026 05:48
@sbc100
sbc100 force-pushed the generic-platform-attrs branch 2 times, most recently from 36da296 to 3ea90f9 Compare August 3, 2026 05:57
@sbc100
sbc100 force-pushed the generic-platform-attrs branch from 3ea90f9 to 214182d Compare August 3, 2026 05:58
@sbc100
sbc100 force-pushed the update-node-24.18.1 branch 2 times, most recently from d089b9f to 75c8e73 Compare August 3, 2026 06:00
@sbc100
sbc100 force-pushed the generic-platform-attrs branch 2 times, most recently from cbf2ac8 to 702725d Compare August 3, 2026 06:24
sbc100 added a commit that referenced this pull request Aug 3, 2026
We had specific hardcoded support for OS-specific URLs.  This change makes that generic and allows `_windows` / `_linux` / `_mac` suffixes to work with any key.

This change is really a no-op that makes way to using a windows specific activated_path for now (allowing us to use the upstream windows node archive, rather than re-packaging/hacking it in (scripts/update_node.py).  See #1760.

Also:

- Remove support for `os: "all"`.. this is not used and doesn't seem useful (since you can just omit it).
- Remove support the `unix` urls.  This complexity (i.e. both unix and linux being valid suffixes) is not needed, since we can get the same behaviour by specifying `_windows` along with a generic url.
@sbc100
sbc100 force-pushed the generic-platform-attrs branch from 702725d to 4bdf971 Compare August 3, 2026 17:01
@sbc100
sbc100 force-pushed the update-node-24.18.1 branch from 75c8e73 to ffbf248 Compare August 3, 2026 17:06
sbc100 added a commit that referenced this pull request Aug 4, 2026
We had specific hardcoded support for OS-specific URLs.  This change makes that generic and allows `_windows` / `_linux` / `_mac` suffixes to work with any key.

This change is really a no-op that makes way to using a windows specific activated_path for now (allowing us to use the upstream windows node archive, rather than re-packaging/hacking it in (scripts/update_node.py).  See #1760.

Also:

- Remove support for `os: "all"`.. this is not used and doesn't seem useful (since you can just omit it).
- Remove support the `unix` urls.  This complexity (i.e. both unix and linux being valid suffixes) is not needed, since we can get the same behaviour by specifying `_windows` along with a generic url.
@sbc100
sbc100 force-pushed the generic-platform-attrs branch from 4bdf971 to f4ebea7 Compare August 4, 2026 00:53
sbc100 added a commit that referenced this pull request Aug 4, 2026
We had specific hardcoded support for OS-specific URLs. This change
makes that generic and allows `_windows` / `_linux` / `_mac` suffixes to
work with any key.

This change is really a no-op that makes way to using a windows specific
activated_path for now (allowing us to use the upstream windows node
archive, rather than re-packaging/hacking it in
(scripts/update_node.py). See #1760.

Also, remove support for `os: "all"`.. this is not used and doesn't seem
useful (since you can just omit it).
Base automatically changed from generic-platform-attrs to main August 4, 2026 01:16
Update the version of Node.js shipped with emsdk to the latest LTS
(v24.18.1) using unmodified upstream archives.

- Update emsdk_manifest.json node versions and SDK defaults to
  use node-24.18.1-64bit with OS-specific activated_*_windows
  overrides.
- Simplify scripts/update_node.py to download and upload unmodified
  upstream archives without repackaging Windows zips.

Fixes: #1758
@sbc100
sbc100 force-pushed the update-node-24.18.1 branch from ffbf248 to fd1c6ce Compare August 4, 2026 01:31
@sbc100
sbc100 enabled auto-merge (squash) August 4, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Node is too old for JSPI

2 participants