MCPcopy
hub / github.com/di-sukharev/opencommit / "node_modules/signal-exit/signals.js"

Function "node_modules/signal-exit/signals.js"

out/cli.cjs:1500–1532  ·  view source on GitHub ↗
(exports2, module2)

Source from the content-addressed store, hash-verified

1498// node_modules/signal-exit/signals.js
1499var require_signals = __commonJS({
1500 "node_modules/signal-exit/signals.js"(exports2, module2) {
1501 module2.exports = [
1502 "SIGABRT",
1503 "SIGALRM",
1504 "SIGHUP",
1505 "SIGINT",
1506 "SIGTERM"
1507 ];
1508 if (process.platform !== "win32") {
1509 module2.exports.push(
1510 "SIGVTALRM",
1511 "SIGXCPU",
1512 "SIGXFSZ",
1513 "SIGUSR2",
1514 "SIGTRAP",
1515 "SIGSYS",
1516 "SIGQUIT",
1517 "SIGIOT"
1518 // should detect profiler and enable/disable accordingly.
1519 // see #21
1520 // 'SIGPROF'
1521 );
1522 }
1523 if (process.platform === "linux") {
1524 module2.exports.push(
1525 "SIGIO",
1526 "SIGPOLL",
1527 "SIGPWR",
1528 "SIGSTKFLT",
1529 "SIGUNUSED"
1530 );
1531 }
1532 }
1533});
1534
1535// node_modules/signal-exit/index.js

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…