mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-30 21:01:54 +08:00
- runReexec: os.constants.signals[signal] can be undefined for a signal name absent on the platform; 128 + undefined = NaN and process.exit(NaN) coerces to 0, masking a signal-abort as success. Guard with a nonzero fallback. Add a cross-platform wiring test (SIGSTKFLT, absent on macOS) asserting a nonzero, non-NaN code. - dev.ts: scrub the handshake marker from the user command's env in runChildProcess using the exported REEXEC_MARKER_ENV constant instead of a hardcoded string, so a rename can't desync it. This also covers the Windows-direct spawn path (the wrapper script only runs on POSIX). |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .eslintrc.cjs | ||
| package.json | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| vitest.config.ts | ||