Update dev dependency selfsigned to v4, fix Node >=v24.5 compatibility, restore CI (#54634)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/54634

CI fails after attempting to update to Node v24 (latest LTS) because our `dev-middleware` dev-only dependency `selfsigned` uses a default key size incompatible with the version of OpenSSL in Node>=24.5. We see lots of:

```
error:0A00018F:SSL routines::ee key too small
```

This was mitigated in OSS CI by pinning our Node tests to before v24.5: https://github.com/facebook/react-native/pull/53013

This default is raised upstream in https://github.com/jfromaniello/selfsigned/commit/bf687c80cfe125b7051c7b2f07e321289c037993 , this bumps to v4 which includes that fix, and removes the temporary mitigation above.

Changelog:
[Internal]

Reviewed By: cipolleschi

Differential Revision: D87643898

fbshipit-source-id: f1072c0801769d5fcd4bb53f68999653c6dad29f
This commit is contained in:
Rob Hogan authored and meta-codesync[bot] committed 2025-11-25 08:52:23 -08:00
1 parent b34e9c542d
commit f3f7e17c60
3 files changed
+6 -14

No files matched your search

+1 -1
View File
@@ -479,7 +479,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ["24.4.1", "22", "20.19.4"]
node-version: ["24", "22", "20.19.4"]
steps:
- name: Checkout
uses: actions/checkout@v4