Official SSL_CTX access for native addons (
2263b4d)
Node now exports node::crypto::GetSSLCtx(), giving addons an official way to retrieve an SSL_CTX* from a tls.createSecureContext() object instead of relying on unsupported internal fields. The new API is documented in node.h and comes with addon tests to validate both successful extraction and failure cases.
Safer Windows .bat/.cmd guidance (
22fc52b)
The child_process docs were updated to stop recommending spawn() with shell: true for .bat and .cmd files, and now explicitly call out the deprecation and injection risk. The examples were simplified to favor exec() or direct cmd.exe spawning.
