Sha256: 85d07be030317c50580d7fbe9dea720e103fc9ef50d1417d5fb8326cc5380735

Contents?: true

Size: 1.52 KB

Versions: 33

Compression:

Stored size: 1.52 KB

Contents

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.allSignals = void 0;
const node_constants_1 = __importDefault(require("node:constants"));
exports.allSignals = 
// this is the full list of signals that Node will let us do anything with
Object.keys(node_constants_1.default).filter(k => k.startsWith('SIG') &&
    // https://github.com/tapjs/signal-exit/issues/21
    k !== 'SIGPROF' &&
    // no sense trying to listen for SIGKILL, it's impossible
    k !== 'SIGKILL');
// These are some obscure signals that are reported by kill -l
// on macOS, Linux, or Windows, but which don't have any mapping
// in Node.js. No sense trying if they're just going to throw
// every time on every platform.
//
// 'SIGEMT',
// 'SIGLOST',
// 'SIGPOLL',
// 'SIGRTMAX',
// 'SIGRTMAX-1',
// 'SIGRTMAX-10',
// 'SIGRTMAX-11',
// 'SIGRTMAX-12',
// 'SIGRTMAX-13',
// 'SIGRTMAX-14',
// 'SIGRTMAX-15',
// 'SIGRTMAX-2',
// 'SIGRTMAX-3',
// 'SIGRTMAX-4',
// 'SIGRTMAX-5',
// 'SIGRTMAX-6',
// 'SIGRTMAX-7',
// 'SIGRTMAX-8',
// 'SIGRTMAX-9',
// 'SIGRTMIN',
// 'SIGRTMIN+1',
// 'SIGRTMIN+10',
// 'SIGRTMIN+11',
// 'SIGRTMIN+12',
// 'SIGRTMIN+13',
// 'SIGRTMIN+14',
// 'SIGRTMIN+15',
// 'SIGRTMIN+16',
// 'SIGRTMIN+2',
// 'SIGRTMIN+3',
// 'SIGRTMIN+4',
// 'SIGRTMIN+5',
// 'SIGRTMIN+6',
// 'SIGRTMIN+7',
// 'SIGRTMIN+8',
// 'SIGRTMIN+9',
// 'SIGSTKFLT',
// 'SIGUNUSED',
//# sourceMappingURL=all-signals.js.map

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.40 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.39 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.38 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.32 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.31 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.30 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.29 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.28 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.27 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.26 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.25 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.24 node_modules/foreground-child/dist/cjs/all-signals.js
immosquare-cleaner-0.1.23 node_modules/foreground-child/dist/cjs/all-signals.js